writer2latex.api
Interface BatchConverter
- Converter
public interface BatchConverter
This is an extended interface for a converter, which offers conversion of
OpenDocument or OOo 1.x docs into a specific format.
It extends the
Converter interface with a method to perform
batch conversion of a directory.
Instances of this interface are created using the
ConverterFactory
Note: This interface is not yet in use
void | BatchConvert(File sourceDir, File targetDir, boolean bRecurse, boolean bContinueOnError, PrintStream messages)- Perform batch conversion of an entire directory
|
BatchConvert
public void BatchConvert(File sourceDir,
File targetDir,
boolean bRecurse,
boolean bContinueOnError,
PrintStream messages)
throws IOExceptionPerform batch conversion of an entire directory
sourceDir - the directory to read fromtargetDir - the directory to write tobRecurse - if set to true, subdirectories are converted as wellbContinueOnError - if set to true, the conversion will continue
even if one of the conversions raise an errormessages - a PrintStream to write status messages
about the conversion to. If this parameter is null, status messages will
be supressed.