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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
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 © 2013 Nuxeo SA. All Rights Reserved.