public class DocumentTreeReader extends DocumentModelReader
| Modifier and Type | Field and Description |
|---|---|
protected DocumentTreeIterator |
iterator |
protected int |
pathSegmentsToRemove |
inlineBlobs, session| Constructor and Description |
|---|
DocumentTreeReader(CoreSession session,
DocumentModel root) |
DocumentTreeReader(CoreSession session,
DocumentModel root,
boolean excludeRoot) |
DocumentTreeReader(CoreSession session,
DocumentRef root) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader.
|
ExportedDocument |
read()
Reads a single document.
|
getInlineBlobs, setInlineBlobsreadprotected DocumentTreeIterator iterator
protected int pathSegmentsToRemove
public DocumentTreeReader(CoreSession session, DocumentModel root, boolean excludeRoot)
public DocumentTreeReader(CoreSession session, DocumentRef root)
public DocumentTreeReader(CoreSession session, DocumentModel root)
public void close()
DocumentReaderclose in interface DocumentReaderclose in class DocumentModelReaderpublic ExportedDocument read() throws IOException
DocumentReaderread in interface DocumentReaderread in class DocumentModelReaderIOExceptionCopyright © 2019 Nuxeo. All rights reserved.