public abstract class RefinedImageFlavor extends ImageFlavor
BUFFERED_IMAGE, GRAPHICS2D, RAW, RAW_CCITTFAX, RAW_EMF, RAW_EPS, RAW_JPEG, RAW_LZW, RAW_PDF, RAW_PNG, RAW_TIFF, RENDERED_IMAGE, XML_DOM| Modifier | Constructor and Description |
|---|---|
protected |
RefinedImageFlavor(ImageFlavor parentFlavor)
Constructs a new image flavor.
|
protected |
RefinedImageFlavor(java.lang.String name,
ImageFlavor parentFlavor)
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.
|
java.lang.String |
getNamespace()
Returns the XML namespace URI that the image flavor represents if such a namespace URI
is available.
|
ImageFlavor |
getParentFlavor()
Returns the associated parent image flavor.
|
boolean |
isCompatible(ImageFlavor flavor)
Indicates whether a particular image flavor is compatible with this one.
|
equals, getName, hashCode, toStringprotected RefinedImageFlavor(ImageFlavor parentFlavor)
parentFlavor - the parent image flavorprotected RefinedImageFlavor(java.lang.String name,
ImageFlavor parentFlavor)
parentFlavor - the parent image flavorname - the name of the flavor (must be unique)public ImageFlavor getParentFlavor()
public java.lang.String getMimeType()
getMimeType in class ImageFlavorpublic java.lang.String getNamespace()
getNamespace in class ImageFlavorpublic boolean isCompatible(ImageFlavor flavor)
isCompatible in class ImageFlavorflavor - the other image flavorCopyright 1999-2025 The Apache Software Foundation. All Rights Reserved.