Class SignatureBox

java.lang.Object
com.sun.media.imageioimpl.plugins.jpeg2000.Box
com.sun.media.imageioimpl.plugins.jpeg2000.SignatureBox

public class SignatureBox extends Box
This class is defined to represent a Signature Box of JPEG JP2 file format. This type of box has a fixed length of 12, a type of "jP " and a four byte content of 0x0D0A870A, which is used to detects of the common file transmission errors which substitutes with or vice versa.
  • Constructor Details

  • Method Details

    • getNativeNode

      public IIOMetadataNode getNativeNode()
      Creates an IIOMetadataNode from this signature box. The format of this node is defined in the XML dtd and xsd for the JP2 image file.
      Overrides:
      getNativeNode in class Box
    • compose

      protected void compose()
      Description copied from class: Box
      Composes the content byte array from the data elements.
      Overrides:
      compose in class Box