OpenOffice.org
XMerge API

org.openoffice.xmerge
Interface DocumentDeserializer

All Known Implementing Classes:
SxcDocumentDeserializer, DocumentDeserializerImpl, DocumentDeserializerImpl, DocumentDeserializerImpl

public interface DocumentDeserializer

A DocumentDeserializer represents a converter that converts "Device" Document objects into the "Office" Document format.

The DocumentDeserializer object is created by the PluginFactory createDocumentDeserializer method. When it is constructed, a ConvertData object is passed in to be used as input.

See Also:
PluginFactory, DocumentDeserializerFactory

Method Summary
 Document deserialize()
          Convert the data passed into the DocumentDeserializer constructor into the "Office" Document format.
 

Method Detail

deserialize

public Document deserialize()
                     throws ConvertException,
                            java.io.IOException

Convert the data passed into the DocumentDeserializer constructor into the "Office" Document format.

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.

Returns:
The resulting Document object from conversion.
Throws:
ConvertException - If any Convert error occurs.
java.io.IOException - If any I/O error occurs.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org