Class FormatRegistry
java.lang.Object
is.galia.image.FormatRegistry
Provides access to the master registry of Formats.
The registry is seeded early in the application lifecycle by DecoderFactory with the supported formats of all codecs.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleancontainsMediaType(MediaType mediaType) static FormatformatWithKey(String key)
-
Method Details
-
addFormat
-
allFormats
-
containsMediaType
- Parameters:
mediaType- Media type.- Returns:
- Whether any formats in the registry have the given media type.
-
formatWithKey
- Parameters:
key- Formatkey.- Returns:
- Format with the given key, or
nullif no such format isregistered.
-