public class ImageLoaderFactoryEPS extends AbstractImageLoaderFactory
Modifier and Type | Field and Description |
---|---|
private static ImageFlavor[] |
FLAVORS |
private static java.lang.String[] |
MIMES |
Constructor and Description |
---|
ImageLoaderFactoryEPS() |
Modifier and Type | Method and Description |
---|---|
ImageFlavor[] |
getSupportedFlavors(java.lang.String mime)
Returns an array of ImageFlavors that are supported by this implementation for a given
MIME type.
|
java.lang.String[] |
getSupportedMIMETypes()
Returns an array of MIME types supported by this implementation.
|
boolean |
isAvailable()
Indicates whether the underlying libraries needed by the implementation are available.
|
ImageLoader |
newImageLoader(ImageFlavor targetFlavor)
Creates and returns a new ImageLoader instance.
|
getUsagePenalty, isSupported
private static final java.lang.String[] MIMES
private static final ImageFlavor[] FLAVORS
public java.lang.String[] getSupportedMIMETypes()
public ImageFlavor[] getSupportedFlavors(java.lang.String mime)
mime
- the MIME typepublic ImageLoader newImageLoader(ImageFlavor targetFlavor)
targetFlavor
- the target image flavor to producepublic boolean isAvailable()