public class SimpleFormatRegistry extends Object implements FormatRegistry
| Constructor and Description |
|---|
SimpleFormatRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormat(Formats document) |
Formats |
getFormatByExtension(String extension) |
Formats |
getFormatByMediaType(String mediaType) |
Set<Formats> |
getOutputFormats(Formats.Type family) |
public void addFormat(Formats document)
public Formats getFormatByExtension(String extension)
getFormatByExtension in interface FormatRegistrypublic Formats getFormatByMediaType(String mediaType)
getFormatByMediaType in interface FormatRegistrypublic Set<Formats> getOutputFormats(Formats.Type family)
getOutputFormats in interface FormatRegistryCopyright © 2019. All rights reserved.