fr.paris.lutece.plugins.dila.service
Interface IDilaBatchXMLService

All Known Implementing Classes:
DilaBatchXMLService

public interface IDilaBatchXMLService

Interface for batch xml


Method Summary
 XmlDTO buildDocument(File file, AudienceCategoryEnum typeXML)
          Transform a document in XmlDTO
 void delete()
          Delete outdated files
 void processXMLFile(File file, AudienceCategoryEnum typeXML)
          Index one file
 

Method Detail

processXMLFile

void processXMLFile(File file,
                    AudienceCategoryEnum typeXML)
                    throws org.jdom2.JDOMException,
                           IOException
Index one file

Parameters:
file - file to index
typeXML - type of file
Throws:
org.jdom2.JDOMException - occurs during file parsing
IOException - occurs during treatment

buildDocument

XmlDTO buildDocument(File file,
                     AudienceCategoryEnum typeXML)
                     throws org.jdom2.JDOMException,
                            IOException
Transform a document in XmlDTO

Parameters:
file - source file
typeXML - type file
Returns:
the build xml
Throws:
org.jdom2.JDOMException - occurs during file parsing
IOException - occurs during treatment

delete

void delete()
Delete outdated files



Copyright © 2013 Mairie de Paris. All Rights Reserved.