public class ZipReader extends AbstractDocumentReader
NuxeoArchiveReader will
 be used to read the zip otherwise the zip will be deflated to a temporary directory and then
 XMLDirectoryReader will be used to read the zip.| Constructor and Description | 
|---|
ZipReader(File file)  | 
ZipReader(InputStream in)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Closes the reader. 
 | 
ExportedDocument | 
read()
Reads a single document. 
 | 
readpublic ZipReader(File file) throws IOException
IOExceptionpublic ZipReader(InputStream in) throws IOException
IOExceptionpublic ExportedDocument read() throws IOException
DocumentReaderread in interface DocumentReaderread in class AbstractDocumentReaderIOExceptionpublic void close()
DocumentReaderCopyright © 2019 Nuxeo. All rights reserved.