public class DefaultDmsWriter extends DefaultExchange implements DmsWriter
| Constructor and Description |
|---|
DefaultDmsWriter(OutputStream outputstream) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Document document)
Validates and adds a
Document to the export-archive. |
void |
close()
Closes the archive file and writes the export-meta data
|
protected String |
getNextContainerPath()
Returns the name of the next container in the export-archive.
|
protected boolean |
isClosed() |
getVerjsonDocument, postEvent, registerListener, unregisterListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, addQuietlypublic DefaultDmsWriter(OutputStream outputstream) throws DmsExchangeException
DmsExchangeExceptionpublic void add(Document document) throws DmsExchangeException
DmsWriterDocument to the export-archive.add in interface DmsWriterDmsExchangeException - Encapsulating parent Exception for erroneous behaviourprotected String getNextContainerPath() throws DmsExchangeException
DmsExchangeExceptionpublic void close()
throws DmsExchangeException
close in interface AutoCloseableDmsExchangeExceptionprotected boolean isClosed()
Copyright © 2015. All rights reserved.