com.artofsolving.jodconverter
Class DocumentFormat
java.lang.Object
com.artofsolving.jodconverter.DocumentFormat
public class DocumentFormat
- extends java.lang.Object
Represents a document format ("OpenDocument Text" or "PDF").
Also contains its available export filters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentFormat
public DocumentFormat()
DocumentFormat
public DocumentFormat(java.lang.String name,
java.lang.String mimeType,
java.lang.String extension)
DocumentFormat
public DocumentFormat(java.lang.String name,
DocumentFamily family,
java.lang.String mimeType,
java.lang.String extension)
getName
public java.lang.String getName()
getFamily
public DocumentFamily getFamily()
getMimeType
public java.lang.String getMimeType()
getFileExtension
public java.lang.String getFileExtension()
isImportable
public boolean isImportable()
isExportOnly
public boolean isExportOnly()
isExportableTo
public boolean isExportableTo(DocumentFormat otherFormat)
isExportableFrom
public boolean isExportableFrom(DocumentFamily family)
setExportFilter
public void setExportFilter(DocumentFamily family,
java.lang.String filter)
setExportOption
public void setExportOption(DocumentFamily family,
java.lang.String name,
java.lang.Object value)
getExportOptions
public java.util.Map getExportOptions(DocumentFamily family)
setImportOption
public void setImportOption(java.lang.String name,
java.lang.Object value)
getImportOptions
public java.util.Map getImportOptions()
Copyright © 2003-2007 Art of Solving. All Rights Reserved.