writer2latex.xhtml
Class BatchConverterImpl
- BatchConverter
public class BatchConverterImpl
Implementation of writer2latex.api.BatchConverter
for
xhtml 1.0 strict
BatchConverterImpl
public BatchConverterImpl()
createIndexFile
public OutputFile createIndexFile(String sHeading,
IndexPageEntry[] entries)
Create an index page with specific entries
- createIndexFile in interface BatchConverter
sHeading
- a heading describing the index pageentries
- an array of IndexPageEntry
objects (null entries
are allowed, and will be ignored) describing the individual directories
and documents
readTemplate
public void readTemplate(File file)
throws IOException
Read a template to use as a base for the index pages.
The format of the template depends on the BatchConverter
implementation.
- readTemplate in interface BatchConverter
file
- the file from which to read the template
readTemplate
public void readTemplate(InputStream is)
throws IOException
Read a template to use as a base for the index pages.
The format of the template depends on the BatchConverter
implementation.
- readTemplate in interface BatchConverter
is
- an InputStream
from which to read the template