List of usage examples for javax.imageio.metadata IIOMetadata toString
public String toString()
From source file:org.photovault.image.ImageIOImage.java
private void readImageMetadata(ImageReader reader) throws IOException { Set<String> nodes = new HashSet<String>(); nodes.add("unknown"); IIOMetadata iioMetadata = reader.getImageMetadata(0, "javax_imageio_jpeg_image_1.0", nodes); if (iioMetadata != null) { Node tree = iioMetadata.getAsTree("javax_imageio_jpeg_image_1.0"); log.debug("read metadata: " + iioMetadata.toString()); this.parseJPEGMetadata((IIOMetadataNode) tree); }//ww w .ja v a2 s. c o m }