Class DocumentModelReader
java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
org.nuxeo.ecm.core.io.impl.plugins.DocumentModelReader
- All Implemented Interfaces:
DocumentReader
- Direct Known Subclasses:
DocumentsListReader,DocumentTreeReader,ExtensibleDocumentTreeReader,SingleDocumentReader
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the reader.booleanabstract ExportedDocumentread()Reads a single document.voidsetInlineBlobs(boolean inlineBlobs) Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
read
-
Field Details
-
session
-
inlineBlobs
protected boolean inlineBlobs
-
-
Constructor Details
-
DocumentModelReader
-
-
Method Details
-
read
Description copied from interface:DocumentReaderReads a single document.- Specified by:
readin interfaceDocumentReader- Specified by:
readin classAbstractDocumentReader- Returns:
- the document read or null if there are no more documents to read
- Throws:
IOException
-
close
public void close()Description copied from interface:DocumentReaderCloses the reader. -
setInlineBlobs
public void setInlineBlobs(boolean inlineBlobs) - Parameters:
inlineBlobs- the inlineBlobs to set.
-
getInlineBlobs
public boolean getInlineBlobs()
-