Package com.artofsolving.jodconverter
Class DocumentFormat
java.lang.Object
com.artofsolving.jodconverter.DocumentFormat
Represents a document format ("OpenDocument Text" or "PDF").
Also contains its available export filters.
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentFormat
(String name, DocumentFamily family, String mimeType, String extension) DocumentFormat
(String name, String mimeType, String extension) -
Method Summary
Modifier and TypeMethodDescriptiongetExportOptions
(DocumentFamily family) getName()
boolean
isExportableFrom
(DocumentFamily family) boolean
isExportableTo
(DocumentFormat otherFormat) boolean
boolean
void
setExportFilter
(DocumentFamily family, String filter) void
setExportOption
(DocumentFamily family, String name, Object value) void
setImportOption
(String name, Object value)
-
Constructor Details
-
DocumentFormat
public DocumentFormat() -
DocumentFormat
-
DocumentFormat
-
-
Method Details
-
getName
-
getFamily
-
getMimeType
-
getFileExtension
-
isImportable
public boolean isImportable() -
isExportOnly
public boolean isExportOnly() -
isExportableTo
-
isExportableFrom
-
setExportFilter
-
setExportOption
-
getExportOptions
-
setImportOption
-
getImportOptions
-