public interface DocumentFormatRegistry
| Modifier and Type | Method and Description |
|---|---|
DocumentFormat |
getFormatByExtension(java.lang.String extension)
Gets a document format for the specified extension.
|
DocumentFormat |
getFormatByMediaType(java.lang.String mediaType)
Gets a document format for the specified media type.
|
java.util.Set<DocumentFormat> |
getOutputFormats(DocumentFamily family)
Gets all the
DocumentFormats of a given family. |
DocumentFormat getFormatByExtension(java.lang.String extension)
extension - The extension whose document format will be returned.null if no document format exists for the
specified extension.DocumentFormat getFormatByMediaType(java.lang.String mediaType)
mediaType - The media type whose document format will be returned.null if no document format exists for the
specified media type.java.util.Set<DocumentFormat> getOutputFormats(DocumentFamily family)
DocumentFormats of a given family.family - The family whose document formats will be returned.