Package org.eclipse.rdf4j.rio.hdt
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 org.eclipse.rdf4j.rio.hdt.HDTPart
HDTPart.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final byte[]
protected static final String
Fields inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
COOKIE, name, pos, properties
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.rdf4j.rio.hdt.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:HDTPart
Parse from input stream- Specified by:
parse
in classHDTPart
- Parameters:
is
-- Throws:
IOException
-