Class HDTDictionary


  • class HDTDictionary
    extends HDTPart
    HDT Dictionary 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.

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

    Structure:

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

      • DICT_FORMAT

        protected static final byte[] DICT_FORMAT
    • Constructor Detail

      • HDTDictionary

        HDTDictionary()
    • 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