Class FormatRegistry
java.lang.Object
is.galia.image.FormatRegistry
Provides access to the master registry of Format
s.
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 void
static boolean
containsMediaType
(MediaType mediaType) static Format
formatWithKey
(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
null
if no such format isregistered
.
-