public interface DmsWriter extends AutoCloseable
Documents (container) to it. Working with a DmsWriter
Implementation consists of the following steps:add(..) or addQuietly(..) methodsclose()getFiles() method| Modifier and Type | Method and Description |
|---|---|
default void |
add(Document... documents)
Validates and adds documents to the export-archive.
|
void |
add(Document document)
Validates and adds a
Document to the export-archive. |
default void |
add(List<Document> documents)
Validates and adds documents to the export-archive.
|
default void |
addQuietly(Document... documents)
Validates and adds documents to the export-archive.
|
closedefault void add(Document... documents) throws DmsExchangeException
documents - The documents to add, fails on the first erroneous DocumentDmsExchangeException - Encapsulating parent Exception for erroneous behaviourdefault void add(List<Document> documents) throws DmsExchangeException
documents - The documents to add, fails on the first erroneous DocumentDmsExchangeException - Encapsulating parent Exception for erroneous behaviourdefault void addQuietly(Document... documents)
documents - Documents to add, does not fail if a Document is erroneous.void add(Document document) throws DmsExchangeException
Document to the export-archive.DmsExchangeException - Encapsulating parent Exception for erroneous behaviourCopyright © 2015. All rights reserved.