public final class Conversion
extends java.lang.Object
| Constructor and Description |
|---|
Conversion(Document input,
java.lang.String outputMimeType)
Constructs a conversion with default options.
|
Conversion(Document input,
java.lang.String outputMimeType,
ConversionOptions options)
Constructs a conversion with specified options.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Document |
getInputDoc()
Returns the conversion input document.
|
ConversionOptions |
getOptions()
Returns the conversion options setting.
|
java.lang.String |
getOutputMimeType()
Returns the conversion output mime type.
|
int |
hashCode() |
public Conversion(Document input, java.lang.String outputMimeType)
input - the input documentoutputMimeType - the output mime typejava.lang.IllegalArgumentException - if the input document is invalid for
conversionpublic Conversion(Document input, java.lang.String outputMimeType, ConversionOptions options)
input - the input documentoutputMimeType - the output mime typeoptions - the conversion options settingpublic Document getInputDoc()
public java.lang.String getOutputMimeType()
public ConversionOptions getOptions()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object