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