Package writer2latex.xhtml
Class BatchConverterImpl
java.lang.Object
writer2latex.base.BatchConverterBase
writer2latex.xhtml.BatchConverterImpl
- All Implemented Interfaces:
BatchConverter
Implementation of
writer2latex.api.BatchConverter for
xhtml 1.0 strict-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndexFile(String sHeading, IndexPageEntry[] entries) Create an index page with specific entriesGet the configuration interface for this batch converterprotected StringvoidreadTemplate(File file) Read a template to use as a base for the index pages.voidRead a template to use as a base for the index pages.Methods inherited from class writer2latex.base.BatchConverterBase
convert, setConverter
-
Constructor Details
-
BatchConverterImpl
public BatchConverterImpl()
-
-
Method Details
-
getConfig
Description copied from interface:BatchConverterGet the configuration interface for this batch converter- Returns:
- the configuration
-
readTemplate
Description copied from interface:BatchConverterRead a template to use as a base for the index pages. The format of the template depends on theBatchConverterimplementation.- Parameters:
is- anInputStreamfrom which to read the template- Throws:
IOException- if some exception occurs while reading the template
-
readTemplate
Description copied from interface:BatchConverterRead a template to use as a base for the index pages. The format of the template depends on theBatchConverterimplementation.- Parameters:
file- the file from which to read the template- Throws:
IOException- if the file does not exist or some exception occurs while reading the template
-
getIndexFileName
- Specified by:
getIndexFileNamein classBatchConverterBase
-
createIndexFile
Description copied from interface:BatchConverterCreate an index page with specific entries- Parameters:
sHeading- a heading describing the index pageentries- an array ofIndexPageEntryobjects (null entries are allowed, and will be ignored) describing the individual directories and documents
-