public interface DocumentReader
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reader.
|
ExportedDocument |
read()
Reads a single document.
|
ExportedDocument[] |
read(int count)
Reads next 'count' documents.
|
ExportedDocument read() throws IOException
IOException
ExportedDocument[] read(int count) throws IOException
count
- the number of documents to readIOException
void close()
Copyright © 2017 Nuxeo. All rights reserved.