public interface ConverterResult
ConverterResult
represent a document, which is the result
of a conversion performed by a Converter
implementation.Modifier and Type | Method and Description |
---|---|
OutputFile |
getMasterDocument()
Get the master document
|
java.util.Iterator |
iterator()
Gets an
Iterator to access all files in the
ConverterResult . |
void |
write(java.io.File dir)
Write all files of the
ConverterResult to a directory. |
OutputFile getMasterDocument()
OutputFile
the master documentjava.util.Iterator iterator()
Iterator
to access all files in the
ConverterResult
. This includes the master document.Iterator
of all filesvoid write(java.io.File dir) throws java.io.IOException
ConverterResult
to a directory.
Subdirectories are created as required by the individual
OutputFile
s.dir
- the directory to write to (this directory must exist).
If the parameter is null, the default directory is usedjava.io.IOException
- if the directory does not exist or one or more files
could not be written