|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.docmosis.document.converter.ConversionFormat
This class specifies the available target formats for document production. A ConversionInstruction instance will specify the format(s) it would like the final document(s) rendered in. The available formats are public constants.
ConversionInstruction,
Serialized Form| Field Summary | |
static ConversionFormat |
FORMAT_HTML
Specify HTML as the format |
static ConversionFormat |
FORMAT_ODT
Specify ODT (Open Document Text) as the format |
static ConversionFormat |
FORMAT_PDF
Specify PDF as the format |
static ConversionFormat |
FORMAT_RTF
Specify RTF (Rich Text Format) as the format |
static ConversionFormat |
FORMAT_TEXT
Specify TEXT as the format |
static ConversionFormat |
FORMAT_WORD
Specify Word as the format |
static ConversionFormat |
FORMAT_WORD_XML
Specify Word XML as the format |
| Method Summary | |
boolean |
equals(Object other)
|
String |
getExtension()
Get the typical file extension of this format. |
static ConversionFormat |
getFormatForFileName(String fileName)
Get the format matching the given file name (by using the extension in a case-insensitive manner). |
String |
getFormatName()
Get the name of this format. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ConversionFormat FORMAT_PDF
public static final ConversionFormat FORMAT_WORD
public static final ConversionFormat FORMAT_WORD_XML
public static final ConversionFormat FORMAT_ODT
public static final ConversionFormat FORMAT_RTF
public static final ConversionFormat FORMAT_HTML
public static final ConversionFormat FORMAT_TEXT
| Method Detail |
public String getFormatName()
public static ConversionFormat getFormatForFileName(String fileName)
fileName - the name of the file upon which the format will be based
public String getExtension()
public int hashCode()
public boolean equals(Object other)
|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||