Package com.stardog.stark.io.binary
Class BinaryRDFParser
java.lang.Object
com.stardog.stark.io.binary.BinaryRDFParser
- All Implemented Interfaces:
BinaryRDFConstants,RDFParser
- Since:
- 1.0
- Version:
- 6.1.2
- Author:
- Jeen Broekstra, Michael Grove
-
Field Summary
Fields inherited from interface com.stardog.stark.io.binary.BinaryRDFConstants
BNODE_VALUE, COMMENT, DATATYPE_LITERAL_VALUE, EMBEDDED_QUAD, EMBEDDED_TRIPLE, END_OF_DATA, FORMAT_VERSION, FORMAT_VERSION_UTF8, LANG_LITERAL_VALUE, LONG_STRING_MARKER, MAGIC_NUMBER, NAMESPACE_DECL, NULL_VALUE, PLAIN_LITERAL_VALUE, QUAD, TRIPLE, URI_VALUE, VALUE_DECL, VALUE_REF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat()The format this parser can parsevoidparse(InputStream theStream, RDFHandler theHandler, Options theOptions) Parse the content
-
Constructor Details
-
BinaryRDFParser
public BinaryRDFParser()
-
-
Method Details
-
format
The format this parser can parse -
parse
public void parse(@Nonnull InputStream theStream, @Nonnull RDFHandler theHandler, @Nonnull Options theOptions) throws IOException Parse the content- Specified by:
parsein interfaceRDFParser- Parameters:
theStream- the stream to read fromtheHandler- the handler to pass parse events totheOptions- the parsing options- Throws:
IOException- if there was an error while reading from the stream
-