writer2latex.api
Interface ConverterResult
- ConvertData
public interface ConverterResult
A ConverterResult represent a document, which is the result
of a conversion performed by a Converterimplementation.
OutputFile | getMasterDocument()- Get the master document
|
Iterator | iterator()- Gets an
Iterator to access all files in the
ConverterResult.
|
void | write(File dir)- Write all files of the
ConverterResult to a directory.
|
getMasterDocument
public OutputFile getMasterDocument()
Get the master document
OutputFile the master document
iterator
public Iterator iterator()
Gets an Iterator to access all files in the
ConverterResult. This includes the master document.
write
public void write(File dir)
throws IOExceptionWrite all files of the ConverterResult to a directory.
Subdirectories are created as required by the individual
OutputFiles.
dir - the directory to write to (this directory must exist).
If the parameter is null, the default directory is used