writer2latex.api
Class ConverterFactory

java.lang.Object
  extended by writer2latex.api.ConverterFactory

public class ConverterFactory
extends java.lang.Object

This is a factory class which provides static methods to create converters for documents in OpenDocument (or OpenOffice.org 1.x) format into a specific MIME type


Field Summary
private static java.lang.String DATE
           
private static java.lang.String VERSION
           
 
Constructor Summary
ConverterFactory()
           
 
Method Summary
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.
private static java.lang.Object createInstance(java.lang.String sClassName)
           
static StarMathConverter createStarMathConverter()
          Create a StarMathConverter implementation
static java.lang.String getDate()
          Return date information
static java.lang.String getVersion()
          Return version information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

private static final java.lang.String VERSION
See Also:
Constant Field Values

DATE

private static final java.lang.String DATE
See Also:
Constant Field Values
Constructor Detail

ConverterFactory

public ConverterFactory()
Method Detail

getVersion

public static java.lang.String getVersion()
Return version information

Returns:
the Writer2LaTeX version in the form (major version).(minor version).(development version).(patch level)

getDate

public static java.lang.String getDate()
Return date information

Returns:
the release date for this Writer2LaTeX version

createConverter

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:

Parameters:
sMIME - the MIME type of the target format
Returns:
the required Converter or null if a converter for the requested MIME type could not be created

createBatchConverter

public 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)

Parameters:
sMIME - the MIME type of the target format
Returns:
the required BatchConverter or null if a converter for the requested MIME type could not be created

createStarMathConverter

public static StarMathConverter createStarMathConverter()
Create a StarMathConverter implementation

Returns:
the converter

createInstance

private static java.lang.Object createInstance(java.lang.String sClassName)