Package org.eclipse.rdf4j.rio.hdt
Class HDTGlobal
- java.lang.Object
-
- org.eclipse.rdf4j.rio.hdt.HDTPart
-
- org.eclipse.rdf4j.rio.hdt.HDTGlobal
-
class HDTGlobal extends HDTPart
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 morekey=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
andNULL
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
Fields Modifier and Type Field Description protected static java.lang.String
GLOBAL_BASEURI
protected static byte[]
GLOBAL_FORMAT
protected static java.lang.String
GLOBAL_SOFTWARE
-
Fields inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
COOKIE, name, pos, properties
-
-
Constructor Summary
Constructors Constructor Description HDTGlobal()
-
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
-
GLOBAL_FORMAT
protected static final byte[] GLOBAL_FORMAT
-
GLOBAL_BASEURI
protected static final java.lang.String GLOBAL_BASEURI
- See Also:
- Constant Field Values
-
GLOBAL_SOFTWARE
protected static final java.lang.String GLOBAL_SOFTWARE
- See Also:
- Constant Field Values
-
-