public class ConverterFactory
extends java.lang.Object
Constructor and Description |
---|
ConverterFactory() |
Modifier and Type | Method and Description |
---|---|
static BatchConverter |
createBatchConverter(java.lang.String sMIME)
Create a
BatchConverter implementation which supports
conversion into the specified MIME type
The only currently supported MIME type is text/html
(XHTML 1.0 strict) |
static Converter |
createConverter(java.lang.String sMIME)
Create a
Converter implementation which supports
conversion into the specified MIME type. |
static StarMathConverter |
createStarMathConverter()
Create a
StarMathConverter implementation |
static java.lang.String |
getDate()
Return date information
|
static java.lang.String |
getVersion()
Return the Writer2LaTeX version in the form
(major version).
|
public static java.lang.String getVersion()
public static java.lang.String getDate()
public static Converter createConverter(java.lang.String sMIME)
Create a Converter
implementation which supports
conversion into the specified MIME type.
Currently supported MIME types are:
application/x-latex
for LaTeX formatapplication/x-bibtex
for BibTeX formattext/html
for XHTML 1.0 strict formatapplication/xhtml11
for XHTML 1.1 format
Note that this is not the recommended media type for XHTML 1.1
(see http://www.w3.org/TR/xhtml-media-types/), but it is used internally
by Writer2xhtml to distinguish from XHTML+MathMLapplication/xhtml+xml
for XHTML+MathMLapplication/xml
for XHTML+MathML using stylesheets from w3c's
math working groupapplication/epub+zip
sMIME
- the MIME type of the target formatConverter
or null if a converter for
the requested MIME type could not be createdpublic static BatchConverter createBatchConverter(java.lang.String sMIME)
Create a BatchConverter
implementation which supports
conversion into the specified MIME type
The only currently supported MIME type is text/html
(XHTML 1.0 strict)
sMIME
- the MIME type of the target formatBatchConverter
or null if a converter
for the requested MIME type could not be createdpublic static StarMathConverter createStarMathConverter()
StarMathConverter
implementation