Package writer2latex.api
Interface ConverterResult
-
- All Known Implementing Classes:
ConvertData
public interface ConverterResultAConverterResultrepresent a document, which is the result of a conversion performed by aConverterimplementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputFilegetMasterDocument()Get the master documentjava.util.Iteratoriterator()Gets anIteratorto access all files in theConverterResult.voidwrite(java.io.File dir)Write all files of theConverterResultto a directory.
-
-
-
Method Detail
-
getMasterDocument
OutputFile getMasterDocument()
Get the master document- Returns:
OutputFilethe master document
-
iterator
java.util.Iterator iterator()
Gets anIteratorto access all files in theConverterResult. This includes the master document.- Returns:
- an
Iteratorof all files
-
write
void write(java.io.File dir) throws java.io.IOExceptionWrite all files of theConverterResultto a directory. Subdirectories are created as required by the individualOutputFiles.- Parameters:
dir- the directory to write to (this directory must exist). If the parameter is null, the default directory is used- Throws:
java.io.IOException- if the directory does not exist or one or more files could not be written
-
-