public class MimeEnabledImageFlavor extends RefinedImageFlavor
BUFFERED_IMAGE, GRAPHICS2D, RAW, RAW_CCITTFAX, RAW_EMF, RAW_EPS, RAW_JPEG, RAW_LZW, RAW_PNG, RAW_TIFF, RENDERED_IMAGE, XML_DOM| Constructor and Description |
|---|
MimeEnabledImageFlavor(ImageFlavor parentFlavor,
String mime)
Constructs a new image flavor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType()
Returns the MIME type that the image flavor represents if a MIME type is available.
|
getNamespace, getParentFlavor, isCompatibleequals, getName, hashCode, toStringpublic MimeEnabledImageFlavor(ImageFlavor parentFlavor, String mime)
parentFlavor - the parent image flavormime - a MIME type refining the parent image flavorpublic String getMimeType()
getMimeType in class RefinedImageFlavorCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.