Class HDTDictionary
java.lang.Object
org.eclipse.rdf4j.rio.hdt.HDTPart
org.eclipse.rdf4j.rio.hdt.HDTDictionary
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 | +------+------+-----+------+------------+------+-------+
-
Nested Class Summary
Nested classes/interfaces inherited from class HDTPart
HDTPart.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final byte[]protected static final StringFields inherited from class HDTPart
COOKIE, name, pos, properties -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HDTPart
checkControl, checkCRC, checkFormat, countToNull, getDebugPartStr, getIntegerProperty, getProperties, getProperties, mapProperties, readToNull
-
Field Details
-
DICT_FORMAT
protected static final byte[] DICT_FORMAT -
DICT_MAPPING
- See Also:
-
DICT_ELEMENTS
- See Also:
-
-
Constructor Details
-
HDTDictionary
HDTDictionary()
-
-
Method Details
-
parse
Description copied from class:HDTPartParse from input stream- Specified by:
parsein classHDTPart- Parameters:
is-- Throws:
IOException
-