public class ImageLoaderFactoryRaw extends AbstractImageLoaderFactory
Modifier and Type | Field and Description |
---|---|
static String |
MIME_EMF
MIME type for EMF (Windows Enhanced Metafile)
|
Constructor and Description |
---|
ImageLoaderFactoryRaw() |
Modifier and Type | Method and Description |
---|---|
static String |
getMimeForRawFlavor(ImageFlavor flavor)
Returns the MIME type for a given ImageFlavor if it is from a format that is consumed
without being undecoded.
|
ImageFlavor[] |
getSupportedFlavors(String mime)
Returns an array of ImageFlavors that are supported by this implementation for a given
MIME type.
|
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
public static final String MIME_EMF
public static String getMimeForRawFlavor(ImageFlavor flavor)
flavor
- the image flavorpublic String[] getSupportedMIMETypes()
public ImageFlavor[] getSupportedFlavors(String mime)
mime
- the MIME typepublic ImageLoader newImageLoader(ImageFlavor targetFlavor)
targetFlavor
- the target image flavor to producepublic boolean isAvailable()
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.