Module io.sf.carte.echosvg.awt
Class ImageWriterRegistry
java.lang.Object
io.sf.carte.echosvg.ext.awt.image.spi.ImageWriterRegistry
ImageWriter
registry.-
Method Summary
Modifier and TypeMethodDescriptionstatic ImageWriterRegistry
Get the instance of the registry.getWriterFor
(String mime) get the ImageWriter registered for mime, or null.void
register
(ImageWriter writer) Register a new writer.
-
Method Details
-
getInstance
Get the instance of the registry.- Returns:
- the registry instance.
-
register
Register a new writer.- Parameters:
writer
- the writer.
-
getWriterFor
get the ImageWriter registered for mime, or null.- Parameters:
mime
- used for lookup- Returns:
- the registered ImageWriter (maybe null)
-