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