19 package org.openoffice.xmerge;
21 import java.io.IOException;
22 import java.io.InputStream;
23 import java.util.Iterator;
38 public class Convert implements Cloneable {
166 catch (CloneNotSupportedException e) {
167 System.out.println(
"Convert clone could not be created");
Provides general purpose utilities.
DocumentSerializer createDocumentSerializer(Document doc)
The.
DocumentSerializerFactory getDocSerializerFactory()
Returns an instance of the.
Provides an interface for plug-in registration.
DocumentMerger getDocumentMerger(Document origDoc)
Returns a.
Document deserialize()
Convert the data passed into the.
void addInputStream(String name, InputStream is, boolean isZip)
Adds an.
Document getOfficeDocument(String name, InputStream is)
Returns the appropriate "Office".
exports com.sun.star. java
ConvertData serialize()
Convert the data passed into the.
PluginFactory getPluginFactory()
Returns the.
final ConverterInfo ci
ConvertInfo that corresponds to the from-mime/to-mime conversion.
abstract Document createOfficeDocument(String name, InputStream is)
Create a.
DocumentMergerFactory getDocMergerFactory()
Returns an instance of the DocumentMergerFactory interface.
void reset()
Resets ConvertData.
final ConvertData inputCD
Holds the convert input data.
DocumentMerger createDocumentMerger(Document doc)
Create a.
Iterator< Object > getDocumentEnumeration()
Gets an.
DocumentDeserializerFactory getDocDeserializerFactory()
Returns an instance of the.
void reset()
Resets the input queue, so that the user can use this class to perform another conversion.
Convert(ConverterInfo ci, boolean toOffice)
Construct a Convert class with specified.
Class for storing the information about a converter plug-in.
DocumentDeserializer createDocumentDeserializer(ConvertData cd)
The.
void addDocument(Document doc)
Adds a.
Provides interfaces for converting between two.
void addInputStream(String name, InputStream is)
Adds an.
All plug-in implementations of the.
ConvertData convert()
Convert the input specified in calls to the.
abstract Document createDeviceDocument(String name, InputStream is)
Create a.