Class BooleanTextParser
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
-
- org.eclipse.rdf4j.query.resultio.text.BooleanTextParser
-
- All Implemented Interfaces:
BooleanQueryResultParser,QueryResultParser
public class BooleanTextParser extends AbstractQueryResultParser implements BooleanQueryResultParser
Reader for the plain text boolean result format.
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
handler, valueFactory
-
-
Constructor Summary
Constructors Constructor Description BooleanTextParser()Creates a new parser for the plain text boolean query result format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanQueryResultFormatgetBooleanQueryResultFormat()QueryResultFormatgetQueryResultFormat()booleanparse(InputStream in)voidparseQueryResult(InputStream in)-
Methods inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
getParseErrorListener, getParseLocationListener, getParserConfig, getSupportedSettings, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.query.resultio.QueryResultParser
getParserConfig, getSupportedSettings, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
-
-
-
-
Method Detail
-
getBooleanQueryResultFormat
public final BooleanQueryResultFormat getBooleanQueryResultFormat()
- Specified by:
getBooleanQueryResultFormatin interfaceBooleanQueryResultParser
-
parse
public boolean parse(InputStream in) throws IOException, QueryResultParseException
- Specified by:
parsein interfaceBooleanQueryResultParser- Throws:
IOExceptionQueryResultParseException
-
getQueryResultFormat
public final QueryResultFormat getQueryResultFormat()
- Specified by:
getQueryResultFormatin interfaceQueryResultParser
-
parseQueryResult
public void parseQueryResult(InputStream in) throws IOException, QueryResultParseException, QueryResultHandlerException
- Specified by:
parseQueryResultin interfaceQueryResultParser- Throws:
IOExceptionQueryResultParseExceptionQueryResultHandlerException
-
-