Package org.nuxeo.ecm.core.io.impl
Class IODocumentManagerImpl
- java.lang.Object
-
- org.nuxeo.ecm.core.io.impl.IODocumentManagerImpl
-
- All Implemented Interfaces:
Serializable
,IODocumentManager
public class IODocumentManagerImpl extends Object implements IODocumentManager
IODocumentManager basic implementation.- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IODocumentManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentTranslationMap
exportDocuments(OutputStream out, String repo, Collection<DocumentRef> sources, boolean recurse, String format)
DocumentTranslationMap
exportDocuments(OutputStream out, DocumentReader customDocReader, String format)
Used in pair with importDocuments(...DocumentTranslationMap
importDocuments(InputStream in, String repo, DocumentRef root)
DocumentTranslationMap
importDocuments(InputStream in, DocumentWriter customDocWriter)
DocumentTranslationMap
importDocuments(DocumentReader customDocReader, DocumentWriter customDocWriter)
-
-
-
Method Detail
-
importDocuments
public DocumentTranslationMap importDocuments(InputStream in, String repo, DocumentRef root)
- Specified by:
importDocuments
in interfaceIODocumentManager
-
importDocuments
public DocumentTranslationMap importDocuments(InputStream in, DocumentWriter customDocWriter)
- 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
-
-