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.
|
read
public ZipReader(File file) throws IOException
IOException
public ZipReader(InputStream in) throws IOException
IOException
public ExportedDocument read() throws IOException
DocumentReader
read
in interface DocumentReader
read
in class AbstractDocumentReader
IOException
public void close()
DocumentReader
Copyright © 2018 Nuxeo. All rights reserved.