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()booleanisExportableFrom(DocumentFamily family) booleanisExportableTo(DocumentFormat otherFormat) booleanbooleanvoidsetExportFilter(DocumentFamily family, String filter) voidsetExportOption(DocumentFamily family, String name, Object value) voidsetImportOption(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
-