Class SPARQLParser
java.lang.Object
tech.oxfordsemantic.jrdfox.formats.internal.AbstractParser
tech.oxfordsemantic.jrdfox.formats.SPARQLParser
public class SPARQLParser
extends tech.oxfordsemantic.jrdfox.formats.internal.AbstractParser
-
Constructor Summary
Constructors Constructor Description SPARQLParser(Prefixes prefixes, java.io.InputStream inputStream)SPARQLParser(Prefixes prefixes, java.io.Reader reader)SPARQLParser(Prefixes prefixes, tech.oxfordsemantic.jrdfox.formats.internal.InputSource inputSource) -
Method Summary
Modifier and Type Method Description booleanhasMoreStatements()StatementparseNextStatement()QueryparseSingleQuery()StatementparseSingleStatement()UpdateparseSingleUpdate()
-
Constructor Details
-
SPARQLParser
public SPARQLParser(Prefixes prefixes, tech.oxfordsemantic.jrdfox.formats.internal.InputSource inputSource) throws java.io.IOException, ParsingException- Throws:
java.io.IOExceptionParsingException
-
SPARQLParser
public SPARQLParser(Prefixes prefixes, java.io.InputStream inputStream) throws java.io.IOException, ParsingException- Throws:
java.io.IOExceptionParsingException
-
SPARQLParser
public SPARQLParser(Prefixes prefixes, java.io.Reader reader) throws java.io.IOException, ParsingException- Throws:
java.io.IOExceptionParsingException
-
-
Method Details
-
parseSingleStatement
- Throws:
JRDFoxExceptionjava.io.IOException
-
parseNextStatement
- Throws:
java.io.IOExceptionParsingException
-
hasMoreStatements
public boolean hasMoreStatements() -
parseSingleQuery
- Throws:
JRDFoxExceptionjava.io.IOException
-
parseSingleUpdate
- Throws:
JRDFoxExceptionjava.io.IOException
-