public class IODocumentManagerImpl extends Object implements IODocumentManager
Constructor and Description |
---|
IODocumentManagerImpl() |
Modifier and Type | Method and Description |
---|---|
DocumentTranslationMap |
exportDocuments(OutputStream out,
DocumentReader customDocReader,
String format)
Used in pair with importDocuments(...
|
DocumentTranslationMap |
exportDocuments(OutputStream out,
String repo,
Collection<DocumentRef> sources,
boolean recurse,
String format) |
DocumentTranslationMap |
importDocuments(DocumentReader customDocReader,
DocumentWriter customDocWriter) |
DocumentTranslationMap |
importDocuments(InputStream in,
DocumentWriter customDocWriter) |
DocumentTranslationMap |
importDocuments(InputStream in,
String repo,
DocumentRef root) |
public DocumentTranslationMap importDocuments(InputStream in, String repo, DocumentRef root) throws ImportDocumentException, ClientException
importDocuments
in interface IODocumentManager
ImportDocumentException
ClientException
public DocumentTranslationMap importDocuments(InputStream in, DocumentWriter customDocWriter) throws ImportDocumentException
importDocuments
in interface IODocumentManager
ImportDocumentException
public DocumentTranslationMap exportDocuments(OutputStream out, String repo, Collection<DocumentRef> sources, boolean recurse, String format) throws ExportDocumentException, ClientException
exportDocuments
in interface IODocumentManager
ExportDocumentException
ClientException
public DocumentTranslationMap exportDocuments(OutputStream out, DocumentReader customDocReader, String format) throws ExportDocumentException
IODocumentManager
exportDocuments
in interface IODocumentManager
ExportDocumentException
public DocumentTranslationMap importDocuments(DocumentReader customDocReader, DocumentWriter customDocWriter) throws ImportDocumentException
importDocuments
in interface IODocumentManager
customDocReader
- reader from the input streamImportDocumentException
Copyright © 2013 Nuxeo SA. All Rights Reserved.