|
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.impl.imageio.ImageIOUtil
public class ImageIOUtil
Helper and convenience methods for ImageIO.
Field Summary | |
---|---|
static java.lang.Object |
IMAGEIO_METADATA
Key for ImageInfo's custom objects to embed the ImageIO metadata |
Constructor Summary | |
---|---|
ImageIOUtil()
|
Method Summary | |
---|---|
static void |
dumpMetadataToSystemOut(javax.imageio.metadata.IIOMetadata iiometa)
Dumps the content of an IIOMetadata instance to System.out. |
static void |
extractResolution(javax.imageio.metadata.IIOMetadata iiometa,
ImageSize size)
Extracts the resolution information from the standard ImageIO metadata. |
static org.w3c.dom.Element |
getChild(org.w3c.dom.Element el,
java.lang.String name)
Returns a child element of another element or null if there's no such child. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Object IMAGEIO_METADATA
Constructor Detail |
---|
public ImageIOUtil()
Method Detail |
---|
public static void extractResolution(javax.imageio.metadata.IIOMetadata iiometa, ImageSize size)
iiometa
- the metadata provided by ImageIOsize
- the image size objectpublic static org.w3c.dom.Element getChild(org.w3c.dom.Element el, java.lang.String name)
el
- the parent elementname
- the name of the requested child
public static void dumpMetadataToSystemOut(javax.imageio.metadata.IIOMetadata iiometa)
iiometa
- the metadata
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |