public abstract class AbstractDocumentReader extends Object implements DocumentReader
Constructor and Description |
---|
AbstractDocumentReader() |
Modifier and Type | Method and Description |
---|---|
abstract ExportedDocument |
read()
Reads a single document.
|
ExportedDocument[] |
read(int count)
Reads next 'count' documents.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public AbstractDocumentReader()
public abstract ExportedDocument read() throws IOException
DocumentReader
read
in interface DocumentReader
IOException
public ExportedDocument[] read(int count) throws IOException
DocumentReader
read
in interface DocumentReader
count
- the number of documents to readIOException
Copyright © 2017 Nuxeo. All rights reserved.