public class DocumentsListReader extends DocumentModelReader
inlineBlobs, session
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, setInlineBlobs
read
public DocumentsListReader(CoreSession session, List<DocumentModel> docsList)
public static DocumentsListReader createDocumentsListReader(CoreSession session, Collection<DocumentRef> docRefsList)
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.