public interface BatchExportable
A fair amount of freedom is given to implementors in how the results are written to the export files. The only constraints are, that
ResultWriter
and ResultReader
interfaces
have to be followed (especially matching start and end tags).Modifier and Type | Method and Description |
---|---|
void |
exportBatch(ResultWriter writer)
Exports the batch state to a result writer.
|
void |
importBatch(ResultReader reader)
Imports the state of a batch from the result reader.
|
void exportBatch(ResultWriter writer) throws ResultException
importBatch
despite the keywords.writer
- the result writer which preserves the stateResultException
- if any exception occurs while writing a result to the writervoid importBatch(ResultReader reader) throws ResultException
exportBatch
despite the keywords.reader
- the result reader which contains the batch stateResultException
- if any exception occurs while reading a result from the reader