Class TLcdJPEG2000Box

java.lang.Object
com.luciad.format.jpeg2000.TLcdJPEG2000Box
Direct Known Subclasses:
TLcdJPEG2000AssociationBox

public class TLcdJPEG2000Box extends Object
A JPEG2000 box.

TThe JPEG2000 standard defines a number of so called boxes which contain a certain type of data. This class represents such a box. You can obtain some of the optional boxes from the model descriptor.

Since:
2012.1
See Also:
  • Constructor Details

    • TLcdJPEG2000Box

      public TLcdJPEG2000Box(TLcdJPEG2000Box.Type aType, byte[] aBytes)
      Creates a new box.
      Parameters:
      aType - the type
      aBytes - the content
  • Method Details

    • getType

      public TLcdJPEG2000Box.Type getType()
      Returns the type of the box.
      Returns:
      the type of the box
    • getContents

      public byte[] getContents()
      Returns the contents of the box or null if the box has no contents.
      Returns:
      the contents of the box or null
    • toString

      public String toString()
      Overrides:
      toString in class Object