Package org.eclipse.rdf4j.rio.hdt
Class HDTDictionary
- java.lang.Object
-
- org.eclipse.rdf4j.rio.hdt.HDTPart
-
- org.eclipse.rdf4j.rio.hdt.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 morekey=value;
properties.Then a
NULL
byte, followed by the 16-bit CRC ($HDT
andNULL
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
Fields Modifier and Type Field Description protected static java.lang.String
DICT_ELEMENTS
protected static byte[]
DICT_FORMAT
protected static java.lang.String
DICT_MAPPING
-
Fields inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
COOKIE, name, pos, properties
-
-
Constructor Summary
Constructors Constructor Description HDTDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
parse(java.io.InputStream is)
Parse from input stream-
Methods inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
checkControl, checkCRC, checkFormat, countToNull, getDebugPartStr, getIntegerProperty, getProperties, getProperties, mapProperties, readToNull
-
-
-
-
Field Detail
-
DICT_FORMAT
protected static final byte[] DICT_FORMAT
-
DICT_MAPPING
protected static final java.lang.String DICT_MAPPING
- See Also:
- Constant Field Values
-
DICT_ELEMENTS
protected static final java.lang.String DICT_ELEMENTS
- See Also:
- Constant Field Values
-
-