public class SPARQLResultsTSVParser extends AbstractTupleQueryResultParser implements TupleQueryResultParser
handler, valueFactory| Constructor and Description |
|---|
SPARQLResultsTSVParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decodeString(String s)
Decodes an encoded Turtle string.
|
TupleQueryResultFormat |
getTupleQueryResultFormat() |
void |
parse(InputStream in) |
protected org.eclipse.rdf4j.model.Literal |
parseLiteral(String literal)
Parses a literal, creates an object for it and returns this object.
|
getQueryResultFormat, parseQueryResult, setTupleQueryResultHandlergetParseErrorListener, getParseLocationListener, getParserConfig, getSupportedSettings, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetTupleQueryResultHandlergetParserConfig, getQueryResultFormat, getSupportedSettings, parseQueryResult, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactorypublic TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat in interface TupleQueryResultParserpublic void parse(InputStream in) throws IOException, QueryResultParseException, TupleQueryResultHandlerException
parse in interface TupleQueryResultParserIOExceptionQueryResultParseExceptionTupleQueryResultHandlerExceptionprotected org.eclipse.rdf4j.model.Literal parseLiteral(String literal) throws IllegalArgumentException
literal - The literal to parse.IllegalArgumentException - If the supplied literal could not be parsed correctly.public static String decodeString(String s)
s - An encoded Turtle string.IllegalArgumentException - If the supplied string is not a correctly encoded Turtle string.Copyright © 2015-2017 Eclipse Foundation. All Rights Reserved.