public interface DocumentFormatRegistry
| Modifier and Type | Method and Description |
|---|---|
@Nullable DocumentFormat |
getFormatByExtension(@NonNull String extension)
Gets a document format for the specified extension.
|
@Nullable DocumentFormat |
getFormatByMediaType(@NonNull String mediaType)
Gets a document format for the specified media type.
|
@NonNull Set<DocumentFormat> |
getOutputFormats(@NonNull DocumentFamily family)
Gets all the
DocumentFormats of a given family. |
@Nullable DocumentFormat getFormatByExtension(@NonNull String extension)
extension - The extension whose document format will be returned.null if no document format exists for the
specified extension.@Nullable DocumentFormat getFormatByMediaType(@NonNull String mediaType)
mediaType - The media type whose document format will be returned.null if no document format exists for the
specified media type.@NonNull Set<DocumentFormat> getOutputFormats(@NonNull DocumentFamily family)
DocumentFormats of a given family.family - The family whose document formats will be returned.Copyright © 2016 - present; JODConverter.org. All rights reserved.