public class SingleDocumentReaderWithInLineBlobs extends DocumentModelReader
DocumentModelReader
implementation that uses inline blobs.Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
doc |
inlineBlobs, session
Constructor and Description |
---|
SingleDocumentReaderWithInLineBlobs(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reader.
|
ExportedDocument |
read()
Reads a single document.
|
getInlineBlobs, setInlineBlobs
read
protected DocumentModel doc
public SingleDocumentReaderWithInLineBlobs(CoreSession session, DocumentModel doc)
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 © 2015 Nuxeo SA. All rights reserved.