public class DocumentTreeReader extends DocumentModelReader
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
public DocumentTreeReader(CoreSession session, DocumentModel root, boolean excludeRoot) throws ClientException
ClientException
public DocumentTreeReader(CoreSession session, DocumentRef root) throws ClientException
ClientException
public DocumentTreeReader(CoreSession session, DocumentModel root) throws ClientException
ClientException
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 © 2011 Nuxeo SA. All Rights Reserved.