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 | Description |
---|---|
MimeEnabledImageFlavor(ImageFlavor parentFlavor,
java.lang.String mime) |
Constructs a new image flavor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getMimeType() |
Returns the MIME type that the image flavor represents if a MIME type is available.
|
int |
hashCode() |
getName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getNamespace, getParentFlavor, isCompatible
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
public boolean equals(java.lang.Object o)
ImageFlavor
equals
in class ImageFlavor
public int hashCode()
ImageFlavor
hashCode
in class ImageFlavor
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.