|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.conversion.Conversion
public final class Conversion
A single immutable conversion from one file format to another.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Conversion(Document input, java.lang.String outputMimeType)
input
- the input documentoutputMimeType
- the output mime type
java.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 settingMethod Detail |
---|
public Document getInputDoc()
public java.lang.String getOutputMimeType()
public ConversionOptions getOptions()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |