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, setInlineBlobs
read
protected 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()
DocumentReader
close
in interface DocumentReader
close
in class DocumentModelReader
public ExportedDocument read() throws IOException
DocumentReader
read
in interface DocumentReader
read
in class DocumentModelReader
IOException
Copyright © 2018 Nuxeo. All rights reserved.