LibreOffice Module xmerge (master)  1
Public Member Functions | List of all members
org.openoffice.xmerge.ConverterFactory Class Reference

Factory that provides access to. More...

Public Member Functions

Convert getConverter (String mimeTypeIn, String mimeTypeOut)
 Returns the. More...
 
Convert getConverter (ConverterInfo ci, boolean toOffice)
 Returns the. More...
 

Detailed Description

Factory that provides access to.

Convert

objects, which are used to do a conversion.

The

ConvertFactory

does this via the

ConvertInfoMgr

which maintains a list of which

Convert

objects are available and their capabilities.

See also
Convert
org.openoffice.xmerge.util.registry.ConverterInfoMgr

Definition at line 35 of file ConverterFactory.java.

Member Function Documentation

Convert org.openoffice.xmerge.ConverterFactory.getConverter ( String  mimeTypeIn,
String  mimeTypeOut 
)
inline

Returns the.

Convert

object that converts the specified device/office mime type conversion.

If there are multiple

Converter

objects registered that support this conversion, only the first is returned.

Parameters
mimeTypeInThe mime input type.
mimeTypeOutThe mime output type.
Returns
The first
Convert
object that supports the specified conversion.

Definition at line 50 of file ConverterFactory.java.

References org.openoffice.xmerge.util.registry.ConverterInfoMgr.findConverterInfo(), and org.openoffice.xmerge.util.registry.ConverterInfo.isValidOfficeType().

Referenced by org.openoffice.xmerge.util.ActiveSyncDriver.Convert(), XMergeBridge._XMergeBridge.convert(), and org.openoffice.xmerge.test.Driver.doConversion().

Convert org.openoffice.xmerge.ConverterFactory.getConverter ( ConverterInfo  ci,
boolean  toOffice 
)
inline

Returns the.

Convert

object that is described by the

ConverterInfo

parameter.

Parameters
ciThe
ConverterInfo
describing the converter.
toOffice

Definition at line 80 of file ConverterFactory.java.


The documentation for this class was generated from the following file: