public class DocumentsListReader extends DocumentModelReader
| Constructor and Description |
|---|
DocumentsListReader(CoreSession session,
List<DocumentModel> docsList) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader.
|
static DocumentsListReader |
createDocumentsListReader(CoreSession session,
Collection<DocumentRef> docRefsList) |
ExportedDocument |
read()
Reads a single document.
|
getInlineBlobs, setInlineBlobsreadpublic DocumentsListReader(CoreSession session, List<DocumentModel> docsList)
public static DocumentsListReader createDocumentsListReader(CoreSession session, Collection<DocumentRef> docRefsList) throws ClientException
ClientExceptionpublic void close()
DocumentReaderclose in interface DocumentReaderclose in class DocumentModelReaderpublic ExportedDocument read() throws IOException
DocumentReaderread in interface DocumentReaderread in class DocumentModelReaderIOExceptionCopyright © 2014 Nuxeo SA. All Rights Reserved.