Package org.nuxeo.ecm.core.io.impl
Class IODocumentManagerImpl
java.lang.Object
org.nuxeo.ecm.core.io.impl.IODocumentManagerImpl
- All Implemented Interfaces:
Serializable
,IODocumentManager
IODocumentManager basic implementation.
- Author:
- Anahide Tchertchian
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexportDocuments
(OutputStream out, String repo, Collection<DocumentRef> sources, boolean recurse, String format) exportDocuments
(OutputStream out, DocumentReader customDocReader, String format) Used in pair with importDocuments(... customDocWriter)importDocuments
(InputStream in, String repo, DocumentRef root) importDocuments
(InputStream in, DocumentWriter customDocWriter) importDocuments
(DocumentReader customDocReader, DocumentWriter customDocWriter)
-
Constructor Details
-
IODocumentManagerImpl
public IODocumentManagerImpl()
-
-
Method Details
-
importDocuments
- Specified by:
importDocuments
in interfaceIODocumentManager
-
importDocuments
- Specified by:
importDocuments
in interfaceIODocumentManager
-
exportDocuments
public DocumentTranslationMap exportDocuments(OutputStream out, String repo, Collection<DocumentRef> sources, boolean recurse, String format) - Specified by:
exportDocuments
in interfaceIODocumentManager
-
exportDocuments
public DocumentTranslationMap exportDocuments(OutputStream out, DocumentReader customDocReader, String format) Description copied from interface:IODocumentManager
Used in pair with importDocuments(... customDocWriter)- Specified by:
exportDocuments
in interfaceIODocumentManager
-
importDocuments
public DocumentTranslationMap importDocuments(DocumentReader customDocReader, DocumentWriter customDocWriter) - Specified by:
importDocuments
in interfaceIODocumentManager
- Parameters:
customDocReader
- reader from the input stream
-