public class BatchConverterImpl extends BatchConverterBase
writer2latex.api.BatchConverter
for
xhtml 1.0 strictConstructor 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, setConverter
public Config getConfig()
BatchConverter
public void readTemplate(java.io.InputStream is) throws java.io.IOException
BatchConverter
BatchConverter
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
BatchConverter
BatchConverter
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 BatchConverterBase
public OutputFile createIndexFile(java.lang.String sHeading, IndexPageEntry[] entries)
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