Class XMLZipReader
java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
org.nuxeo.ecm.core.io.impl.plugins.XMLZipReader
- All Implemented Interfaces:
DocumentReader
- Author:
- Bogdan Stefanescu
-
Constructor Summary
ConstructorsConstructorDescriptionXMLZipReader(File source) XMLZipReader(String source) XMLZipReader(ZipFile zip) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the reader.read()Reads a single document.org.dom4j.DocumentreadXML(InputStream in) Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
read
-
Constructor Details
-
XMLZipReader
-
XMLZipReader
- Throws:
IOException
-
XMLZipReader
- Throws:
IOException
-
-
Method Details
-
read
Description copied from interface:DocumentReaderReads a single document.- Specified by:
readin interfaceDocumentReader- Specified by:
readin classAbstractDocumentReader- Returns:
- the document read or null if there are no more documents to read
- Throws:
IOException
-
close
public void close()Description copied from interface:DocumentReaderCloses the reader. -
readXML
-