|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.util.image.ImageRegistry
public final class ImageRegistry
ImageRegistry is used to provide a directory for registering ImageProviders that are used to decode different image formats.
| Method Summary | |
|---|---|
static ImageDecoder |
getImageProvider(String mimeType)
Get the provider that can be used to decode a given image format. |
static void |
registerProvider(String mimeType,
ImageProvider decoder)
Register an ImageDecoder to handle images in the specified format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerProvider(String mimeType,
ImageProvider decoder)
mimeType - the string identifying the image format.decoder - any class that implements the ImageDecoder interface.public static ImageDecoder getImageProvider(String mimeType)
mimeType - the MIME type identifying the image format.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||