LibreOffice Module xmerge (master) 1
|
A DocumentDeserializer
represents a converter that converts "Device" Document
objects into the "Office" Document
format.
More...
Public Member Functions | |
Document | deserialize (String deviceURL, String officeURL) throws ConvertException, IOException |
Convert the data passed into the DocumentDeserializer2 constructor into the "Office" Document format. More... | |
Public Member Functions inherited from org.openoffice.xmerge.DocumentSerializer | |
ConvertData | serialize () throws ConvertException, IOException |
Convert the data passed into the DocumentSerializer constructor into the "Device" Document format. More... | |
A DocumentDeserializer
represents a converter that converts "Device" Document
objects into the "Office" Document
format.
The PluginFactory
createDocumentDeserializer
method creates a DocumentDeserializer
, which may or may not implement DocumentDeserializer2
. When it is constructed, a ConvertData
object is passed in to be used as input.
Definition at line 38 of file DocumentDeserializer2.java.
Document org.openoffice.xmerge.DocumentDeserializer2.deserialize | ( | String | deviceURL, |
String | officeURL | ||
) | throws ConvertException, IOException |
Convert the data passed into the DocumentDeserializer2
constructor into the "Office" Document
format.
The URL's passed may be used to resolve links and to choose the name of the output office document.
This method may or may not be thread-safe. It is expected that the user code does not call this method in more than one thread. And for most cases, this method is only done once.
Document
object from conversion.deviceURL | URL of the device document (may be null if unknown) |
officeURL | URL of the office document (may be null if unknown) |
ConvertException | If any Convert error occurs. |
IOException | If any I/O error occurs. |