Package writer2latex.api
Interface ConverterResult
public interface ConverterResult
A
ConverterResult represent a document, which is the result
of a conversion performed by a Converterimplementation.-
Method Summary
Modifier and TypeMethodDescriptioniterator()Gets anIteratorto access all files in theConverterResult.voidWrite all files of theConverterResultto a directory.
-
Method Details
-
iterator
Iterator<OutputFile> iterator()Gets anIteratorto access all files in theConverterResult. The iterator will return the master documents first in logical order (starting with the primary master document)- Returns:
- an
Iteratorof all files
-
write
Write 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:
IOException- if the directory does not exist or one or more files could not be written
-