Package org.eclipse.rdf4j.rio.hdt
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 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
-
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:HDTPart
Parse from input stream- Specified by:
parse
in classHDTPart
- Parameters:
is
-- Throws:
IOException
-