public class BatchConverterImpl extends BatchConverterBase
writer2latex.api.BatchConverter for
xhtml 1.0 strict| Constructor and Description |
|---|
BatchConverterImpl() |
| Modifier and Type | Method and Description |
|---|---|
OutputFile |
createIndexFile(java.lang.String sHeading,
IndexPageEntry[] entries)
Create an index page with specific entries
|
Config |
getConfig()
Get the configuration interface for this batch converter
|
protected java.lang.String |
getIndexFileName() |
void |
readTemplate(java.io.File file)
Read a template to use as a base for the index pages.
|
void |
readTemplate(java.io.InputStream is)
Read a template to use as a base for the index pages.
|
convert, setConverterpublic Config getConfig()
BatchConverterpublic void readTemplate(java.io.InputStream is)
throws java.io.IOException
BatchConverterBatchConverter
implementation.is - an InputStream from which to read the templatejava.io.IOException - if some exception occurs while reading the templatepublic void readTemplate(java.io.File file)
throws java.io.IOException
BatchConverterBatchConverter
implementation.file - the file from which to read the templatejava.io.IOException - if the file does not exist or some exception occurs
while reading the templateprotected java.lang.String getIndexFileName()
getIndexFileName in class BatchConverterBasepublic OutputFile createIndexFile(java.lang.String sHeading, IndexPageEntry[] entries)
BatchConvertersHeading - 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