Class HDTGlobal
java.lang.Object
org.eclipse.rdf4j.rio.hdt.HDTPart
org.eclipse.rdf4j.rio.hdt.HDTGlobal
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 | +------+------+--------+------+------------+------+-------+
-
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
-
GLOBAL_FORMAT
protected static final byte[] GLOBAL_FORMAT -
GLOBAL_BASEURI
- See Also:
-
GLOBAL_SOFTWARE
- See Also:
-
-
Constructor Details
-
HDTGlobal
HDTGlobal()
-
-
Method Details
-
parse
Description copied from class:HDTPartParse from input stream- Specified by:
parsein classHDTPart- Parameters:
is-- Throws:
IOException
-