Class UUIDListBox


  • public class UUIDListBox
    extends Box
    This class is defined to represent a UUID list Box of JPEG JP2 file format. This type of box has a length, a type of "ulst". Its contents include the number of UUID entry and a list of 16-byte UUIDs.
    • Constructor Detail

      • UUIDListBox

        public UUIDListBox​(short num,
                           byte[][] uuids)
        Constructs a UUIDListBox from the provided uuid number and uuids. The provided uuids should have a size of 16; otherwise, Exception may thrown in later the process. The provided number should consistent with the size of the uuid array.
      • UUIDListBox

        public UUIDListBox​(byte[] data)
        Constructs a UUIDListBox from the provided content data array.
    • Method Detail

      • parse

        protected void parse​(byte[] data)
        Parses the data elements from the provided content data array.
        Overrides:
        parse in class Box
      • getNativeNode

        public IIOMetadataNode getNativeNode()
        Creates an IIOMetadataNode from this UUID list 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