it.geosolutions.imageio.plugins.jp2k
Class JP2KStreamMetadata
java.lang.Object
javax.imageio.metadata.IIOMetadata
it.geosolutions.imageio.plugins.jp2k.JP2KStreamMetadata
public class JP2KStreamMetadata
- extends IIOMetadata
Methods inherited from class javax.imageio.metadata.IIOMetadata |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_CODESTREAMS
public static final String NUM_CODESTREAMS
- See Also:
- Constant Field Values
nativeMetadataFormatName
public static final String nativeMetadataFormatName
- See Also:
- Constant Field Values
JP2KStreamMetadata
public JP2KStreamMetadata(TreeModel treeModel,
int numCodestreams)
getAsTree
public Node getAsTree(String formatName)
- Specified by:
getAsTree
in class IIOMetadata
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in class IIOMetadata
searchFirstOccurrenceNode
public IIOMetadataNode searchFirstOccurrenceNode(int requestedBoxType)
- Search the first occurrence of a node related to the specified box type
and return it as a
IIOMetadataNode
or null in case of not found.
Search is performed visiting the children of a node before the brothers.
searchOccurrencesNode
public List<IIOMetadataNode> searchOccurrencesNode(int requestedBoxType)
- Search any JP2 Box metadata node occurrence of the specified type.
- Parameters:
requestedBoxType
- the box type to be searched.
- Returns:
- a List containing any occurrence found.
mergeTree
public void mergeTree(String formatName,
Node root)
throws IIOInvalidTreeException
- Specified by:
mergeTree
in class IIOMetadata
- Throws:
IIOInvalidTreeException
reset
public void reset()
- Specified by:
reset
in class IIOMetadata
Copyright © 2006–2014 GeoSolutions. All rights reserved.