it.geosolutions.imageio.plugins.jp2k
Interface JP2KBox

All Superinterfaces:
Cloneable, MutableTreeNode, TreeNode
All Known Subinterfaces:
JP2KBoxMetadata, MutableJP2KBox
All Known Implementing Classes:
ASOCBox, BaseJP2KBox, BitsPerComponentBox, ChannelDefinitionBox, CodestreamHeaderBox, ColorSpecificationBox, ComponentMappingBox, CompositingLayerHeaderBox, ContiguousCodestreamBox, DataEntryURLBox, FileTypeBox, ImageHeaderBox, IPRBox, JP2HeaderBox, JP2KFileBox, LabelBox, PaletteBox, ReaderRequirementsBox, ResolutionBox, SignatureBox, UUIDBox, UUIDInfoBox, UUIDListBox, XMLBox

public interface JP2KBox
extends MutableTreeNode, Cloneable

Basic interface for a JP2KBox.

Author:
Simone Giannecchini, GeoSolutions.

Method Summary
 Object clone()
           
 byte[] getContent()
          Returns the box content in byte array.
 long getExtraLength()
          Returns the box extra length.
 int getLength()
          Returns the box length.
 int getType()
          Returns the box type.
 
Methods inherited from interface MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject
 
Methods inherited from interface TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

getLength

int getLength()
Returns the box length.


getType

int getType()
Returns the box type.


getExtraLength

long getExtraLength()
Returns the box extra length.


getContent

byte[] getContent()
Returns the box content in byte array.

Returns:
a byte array with the box content or null if this is a super box.

clone

Object clone()


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.