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,
String mime) |
Constructs a new image flavor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
String |
getMimeType() |
Returns the MIME type that the image flavor represents if a MIME type is available.
|
int |
hashCode() |
getName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamespace, getParentFlavor, isCompatiblepublic MimeEnabledImageFlavor(ImageFlavor parentFlavor, String mime)
parentFlavor - the parent image flavormime - a MIME type refining the parent image flavorpublic String getMimeType()
getMimeType in class RefinedImageFlavorpublic boolean equals(Object o)
ImageFlavorequals in class ImageFlavorpublic int hashCode()
ImageFlavorhashCode in class ImageFlavorCopyright © 2018 Apache Software Foundation. All rights reserved.