| Package | Description |
|---|---|
| de.galan.dmsexchange | |
| de.galan.dmsexchange.exchange | |
| de.galan.dmsexchange.exchange.read | |
| de.galan.dmsexchange.exchange.write | |
| de.galan.dmsexchange.util |
| Modifier and Type | Method and Description |
|---|---|
static DmsReader |
DmsExchange.createReader(File file)
Provides a export-archive reader for
Documents that are contained in the passed file. |
static DmsReader |
DmsExchange.createReader(String file)
Provides a export-archive reader for
Documents that are contained in the passed file. |
static DmsWriter |
DmsExchange.createWriter(File file)
|
static ConditionalDmsWriter |
DmsExchange.createWriter(File directory,
Integer thresholdDocuments)
Provides a conditional writer to create (potentially) multiple export-archives with
Documents in the
given directory. |
static ConditionalDmsWriter |
DmsExchange.createWriter(File directory,
Integer thresholdDocuments,
Integer thresholdFilesize)
Provides a conditional writer to create (potentially) multiple export-archives with
Documents in the
given directory. |
static DmsWriter |
DmsExchange.createWriter(OutputStream outputstream)
Provides a writer to create an export-archive with
Documents that is written to the given
OutputStream. |
| Modifier and Type | Class and Description |
|---|---|
class |
DocumentValidationException
Exception that has happened during the validation phase prior adding a document into an archive.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
DmsWriter.add(Document... documents)
Validates and adds documents to the export-archive.
|
void |
DmsWriter.add(Document document)
Validates and adds a
Document to the export-archive. |
default void |
DmsWriter.add(List<Document> documents)
Validates and adds documents to the export-archive.
|
void |
DmsReader.readDocuments()
Starts reading the provided export-archive and fires the appropiate events.
Potential event subscriber consumer either Documents or DocumentReadInvalidEvent (in case of beeing
unable to read content from an export-archive). |
void |
DmsReader.readDocuments(Consumer<Document> consumer)
Starts reading the provided export-archive and calls the consumer for every successful
Document that is
read. |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultDmsReader.readDocuments() |
void |
DefaultDmsReader.readDocuments(Consumer<Document> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultConditionalDmsWriter.add(Document document) |
void |
DefaultDmsWriter.add(Document document) |
void |
DefaultDmsWriter.close()
Closes the archive file and writes the export-meta data
|
protected String |
DefaultDmsWriter.getNextContainerPath()
Returns the name of the next container in the export-archive.
|
protected File |
DefaultConditionalDmsWriter.getNextFile() |
protected DmsWriter |
DefaultConditionalDmsWriter.getNextWriter() |
protected void |
DefaultConditionalDmsWriter.split() |
| Constructor and Description |
|---|
DefaultConditionalDmsWriter(File directory) |
DefaultDmsWriter(OutputStream outputstream) |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidArchiveException
Exchange-Archive does not comply with the specification.
|
Copyright © 2015. All rights reserved.