public class J2KMetadata
extends javax.imageio.metadata.IIOMetadata
implements java.lang.Cloneable
Constructor and Description |
---|
J2KMetadata()
Constructor containing code shared by other constructors.
|
J2KMetadata(java.awt.image.ColorModel colorModel,
java.awt.image.SampleModel sampleModel,
int width,
int height,
javax.imageio.ImageWriteParam param,
javax.imageio.ImageWriter writer)
Constructs a default image
J2KMetadata object appropriate
for the given image type and write parameters. |
J2KMetadata(javax.imageio.stream.ImageInputStream iis,
J2KImageReader reader) |
J2KMetadata(javax.imageio.ImageTypeSpecifier imageType,
javax.imageio.ImageWriteParam param,
javax.imageio.ImageWriter writer)
Constructs a default image
J2KMetadata object appropriate
for the given image type and write parameters. |
J2KMetadata(javax.imageio.ImageWriteParam param,
javax.imageio.ImageWriter writer)
Constructs a default stream
J2KMetadata object appropriate
for the given write parameters. |
Modifier and Type | Method and Description |
---|---|
void |
addNode(Box node) |
java.lang.Object |
clone() |
org.w3c.dom.Node |
getAsTree(java.lang.String formatName) |
Box |
getElement(java.lang.String name) |
protected javax.imageio.metadata.IIOMetadataNode |
getStandardChromaNode() |
protected javax.imageio.metadata.IIOMetadataNode |
getStandardCompressionNode() |
protected javax.imageio.metadata.IIOMetadataNode |
getStandardDataNode() |
protected javax.imageio.metadata.IIOMetadataNode |
getStandardDimensionNode() |
protected javax.imageio.metadata.IIOMetadataNode |
getStandardTextNode() |
protected javax.imageio.metadata.IIOMetadataNode |
getStandardTransparencyNode() |
boolean |
isReadOnly() |
void |
mergeTree(java.lang.String formatName,
org.w3c.dom.Node root) |
void |
reset() |
void |
setFromTree(java.lang.String formatName,
org.w3c.dom.Node root) |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardDocumentNode, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController
public J2KMetadata()
public J2KMetadata(javax.imageio.stream.ImageInputStream iis, J2KImageReader reader) throws java.io.IOException
java.io.IOException
public J2KMetadata(javax.imageio.ImageWriteParam param, javax.imageio.ImageWriter writer)
J2KMetadata
object appropriate
for the given write parameters.public J2KMetadata(javax.imageio.ImageTypeSpecifier imageType, javax.imageio.ImageWriteParam param, javax.imageio.ImageWriter writer)
J2KMetadata
object appropriate
for the given image type and write parameters.public J2KMetadata(java.awt.image.ColorModel colorModel, java.awt.image.SampleModel sampleModel, int width, int height, javax.imageio.ImageWriteParam param, javax.imageio.ImageWriter writer)
J2KMetadata
object appropriate
for the given image type and write parameters.public java.lang.Object clone()
clone
in class java.lang.Object
public org.w3c.dom.Node getAsTree(java.lang.String formatName)
getAsTree
in class javax.imageio.metadata.IIOMetadata
protected javax.imageio.metadata.IIOMetadataNode getStandardChromaNode()
getStandardChromaNode
in class javax.imageio.metadata.IIOMetadata
protected javax.imageio.metadata.IIOMetadataNode getStandardCompressionNode()
getStandardCompressionNode
in class javax.imageio.metadata.IIOMetadata
protected javax.imageio.metadata.IIOMetadataNode getStandardDataNode()
getStandardDataNode
in class javax.imageio.metadata.IIOMetadata
protected javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode()
getStandardDimensionNode
in class javax.imageio.metadata.IIOMetadata
protected javax.imageio.metadata.IIOMetadataNode getStandardTransparencyNode()
getStandardTransparencyNode
in class javax.imageio.metadata.IIOMetadata
protected javax.imageio.metadata.IIOMetadataNode getStandardTextNode()
getStandardTextNode
in class javax.imageio.metadata.IIOMetadata
public boolean isReadOnly()
isReadOnly
in class javax.imageio.metadata.IIOMetadata
public void mergeTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
mergeTree
in class javax.imageio.metadata.IIOMetadata
javax.imageio.metadata.IIOInvalidTreeException
public void setFromTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
setFromTree
in class javax.imageio.metadata.IIOMetadata
javax.imageio.metadata.IIOInvalidTreeException
public void reset()
reset
in class javax.imageio.metadata.IIOMetadata
public void addNode(Box node)
public Box getElement(java.lang.String name)
Copyright © 2014 Open Microscopy Environment