org.artofsolving.jodconverter.document
Class SimpleDocumentFormatRegistry
java.lang.Object
org.artofsolving.jodconverter.document.SimpleDocumentFormatRegistry
- All Implemented Interfaces:
- DocumentFormatRegistry
- Direct Known Subclasses:
- DefaultDocumentFormatRegistry, JsonDocumentFormatRegistry
public class SimpleDocumentFormatRegistry
- extends Object
- implements DocumentFormatRegistry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDocumentFormatRegistry
public SimpleDocumentFormatRegistry()
addFormat
public void addFormat(DocumentFormat documentFormat)
getFormatByExtension
public DocumentFormat getFormatByExtension(String extension)
- Specified by:
getFormatByExtension
in interface DocumentFormatRegistry
getFormatByMediaType
public DocumentFormat getFormatByMediaType(String mediaType)
- Specified by:
getFormatByMediaType
in interface DocumentFormatRegistry
getOutputFormats
public Set<DocumentFormat> getOutputFormats(DocumentFamily family)
- Specified by:
getOutputFormats
in interface DocumentFormatRegistry
Copyright © 2003-2011. All Rights Reserved.