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 |
---|---|
boolean |
equals(Object o) |
String |
getMimeType()
Returns the MIME type that the image flavor represents if a MIME type is available.
|
int |
hashCode() |
getNamespace, getParentFlavor, isCompatible
getName, toString
public MimeEnabledImageFlavor(ImageFlavor parentFlavor, String mime)
parentFlavor
- the parent image flavormime
- a MIME type refining the parent image flavorpublic String getMimeType()
getMimeType
in class RefinedImageFlavor
public boolean equals(Object o)
ImageFlavor
equals
in class ImageFlavor
public int hashCode()
ImageFlavor
hashCode
in class ImageFlavor
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.