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,
java.lang.String mime)
Constructs a new image flavor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMimeType()
Returns the MIME type that the image flavor represents if a MIME type is available.
|
getNamespace, getParentFlavor, isCompatible
equals, getName, hashCode, toString
public MimeEnabledImageFlavor(ImageFlavor parentFlavor, java.lang.String mime)
parentFlavor
- the parent image flavormime
- a MIME type refining the parent image flavorpublic java.lang.String getMimeType()
getMimeType
in class RefinedImageFlavor
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.