|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.dila.service.impl.DilaBatchXMLService
public class DilaBatchXMLService
Implementation of IDilaBatchXMLService
| Field Summary | |
|---|---|
static List<String> |
listXMLNotSupported
List of XML file that will not be indexed |
| Constructor Summary | |
|---|---|
DilaBatchXMLService()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> listXMLNotSupported
| Constructor Detail |
|---|
public DilaBatchXMLService()
| Method Detail |
|---|
public void processXMLFile(File file,
AudienceCategoryEnum typeXML)
throws org.jdom2.JDOMException,
IOException
IDilaBatchXMLService
processXMLFile in interface IDilaBatchXMLServicefile - file to indextypeXML - type of file
org.jdom2.JDOMException - occurs during file parsing
IOException - occurs during treatment
public XmlDTO buildDocument(File file,
AudienceCategoryEnum typeXML)
throws org.jdom2.JDOMException,
IOException
IDilaBatchXMLServiceXmlDTO
buildDocument in interface IDilaBatchXMLServicefile - source filetypeXML - type file
org.jdom2.JDOMException - occurs during file parsing
IOException - occurs during treatmentpublic void delete()
IDilaBatchXMLService
delete in interface IDilaBatchXMLService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||