LibreOffice Module xmerge (master) 1
|
Factory that provides access to Convert
objects, which are used to do a conversion.
More...
Public Member Functions | |
Convert | getConverter (String mimeTypeIn, String mimeTypeOut) |
Returns the Convert object that converts the specified device/office mime type conversion. More... | |
Convert | getConverter (ConverterInfo ci, boolean toOffice) |
Returns the Convert object that is described by the ConverterInfo parameter. More... | |
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.
Definition at line 35 of file ConverterFactory.java.
|
inline |
Returns the Convert
object that is described by the ConverterInfo
parameter.
ci | The ConverterInfo describing the converter. |
toOffice | true to convert to office, false to convert to device. |
Convert
object Definition at line 80 of file ConverterFactory.java.
|
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.
mimeTypeIn | The mime input type. |
mimeTypeOut | The mime output type. |
Convert
object that supports the specified conversion. Definition at line 50 of file ConverterFactory.java.
References org.openoffice.xmerge.util.registry.ConverterInfoMgr.findConverterInfo(), org.openoffice.xmerge.ConverterFactory.getConverter(), and org.openoffice.xmerge.util.registry.ConverterInfo.isValidOfficeType().
Referenced by XMergeBridge._XMergeBridge.convert(), org.openoffice.xmerge.util.ActiveSyncDriver.Convert(), org.openoffice.xmerge.test.Driver.doConversion(), and org.openoffice.xmerge.ConverterFactory.getConverter().