public interface DocumentWriter
This writer is designed to be accessible remotely (over a network).
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the writer.
|
DocumentTranslationMap |
write(Collection<ExportedDocument> docs)
Writes documents from the given collection.
|
DocumentTranslationMap |
write(ExportedDocument doc)
Writes a single document.
|
DocumentTranslationMap |
write(ExportedDocument[] docs)
Writes an array of documents.
|
DocumentTranslationMap write(ExportedDocument doc) throws IOException
doc - the document to writeIOExceptionDocumentTranslationMap write(ExportedDocument[] docs) throws IOException
docs - the array to writeIOExceptionDocumentTranslationMap write(Collection<ExportedDocument> docs) throws IOException
docs - the documents to writeIOExceptionvoid close()
Copyright © 2013 Nuxeo SA. All Rights Reserved.