|
xmlgraphics-commons 1.4 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.image.loader.ImageFlavor
org.apache.xmlgraphics.image.loader.RefinedImageFlavor
org.apache.xmlgraphics.image.loader.MimeEnabledImageFlavor
Special image flavor subclass which enables the restriction to a particular MIME type.
Field Summary |
Fields inherited from class org.apache.xmlgraphics.image.loader.ImageFlavor |
BUFFERED_IMAGE, GRAPHICS2D, RAW, RAW_CCITTFAX, RAW_EMF, RAW_EPS, RAW_JPEG, RAW_LZW, RAW_PNG, RAW_TIFF, RENDERED_IMAGE, XML_DOM |
Constructor Summary | |
MimeEnabledImageFlavor(ImageFlavor parentFlavor,
java.lang.String mime)
Constructs a new image flavor. |
Method Summary | |
java.lang.String |
getMimeType()
Returns the MIME type that the image flavor represents if a MIME type is available. This is only applicable to images which can also exist as files. For images flavors like decoded in-memory images (Rendered/BufferedImage), this method will return null. |
Methods inherited from class org.apache.xmlgraphics.image.loader.RefinedImageFlavor |
getNamespace, getParentFlavor, isCompatible |
Methods inherited from class org.apache.xmlgraphics.image.loader.ImageFlavor |
equals, getName, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MimeEnabledImageFlavor(ImageFlavor parentFlavor, java.lang.String mime)
parentFlavor
- the parent image flavormime
- a MIME type refining the parent image flavorMethod Detail |
public java.lang.String getMimeType()
getMimeType
in class RefinedImageFlavor
|
xmlgraphics-commons 1.4 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |