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 writeIOException
DocumentTranslationMap write(ExportedDocument[] docs) throws IOException
docs
- the array to writeIOException
DocumentTranslationMap write(Collection<ExportedDocument> docs) throws IOException
docs
- the documents to writeIOException
void close()
Copyright © 2018 Nuxeo. All rights reserved.