Class HDTGlobal


  • class HDTGlobal
    extends HDTPart
    HDT Global Part.

    This part starts with $HDT, followed by a byte indicating the type of the part, the NULL-terminated URI string for the format, and optionally one or more key=value; properties.

    These properties may include a base URI, and the name of the software that produced the HDT file.

    Then a NULL byte, followed by the 16-bit CRC ($HDT and NULL included)

    Structure:

     +------+------+--------+------+------------+------+-------+
     | $HDT | type | format | NULL | key=value; | NULL | CRC16 |
     +------+------+--------+------+------------+------+-------+
     
    • Field Detail

      • GLOBAL_FORMAT

        protected static final byte[] GLOBAL_FORMAT
      • GLOBAL_SOFTWARE

        protected static final java.lang.String GLOBAL_SOFTWARE
        See Also:
        Constant Field Values
    • Constructor Detail

      • HDTGlobal

        HDTGlobal()
    • Method Detail

      • parse

        protected void parse​(java.io.InputStream is)
                      throws java.io.IOException
        Description copied from class: HDTPart
        Parse from input stream
        Specified by:
        parse in class HDTPart
        Throws:
        java.io.IOException