Class BooleanTextWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.text.BooleanTextWriterFactory
-
- All Implemented Interfaces:
BooleanQueryResultWriterFactory
public class BooleanTextWriterFactory extends Object implements BooleanQueryResultWriterFactory
ABooleanQueryResultWriterFactory
for writers of plain text boolean query results.- Author:
- Arjohn Kampman
-
-
Constructor Summary
Constructors Constructor Description BooleanTextWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanQueryResultFormat
getBooleanQueryResultFormat()
ReturnsBooleanQueryResultFormat.TEXT
.BooleanQueryResultWriter
getWriter(OutputStream out)
Returns a new instance of BinaryQueryResultWriter.
-
-
-
Method Detail
-
getBooleanQueryResultFormat
public BooleanQueryResultFormat getBooleanQueryResultFormat()
ReturnsBooleanQueryResultFormat.TEXT
.- Specified by:
getBooleanQueryResultFormat
in interfaceBooleanQueryResultWriterFactory
-
getWriter
public BooleanQueryResultWriter getWriter(OutputStream out)
Returns a new instance of BinaryQueryResultWriter.- Specified by:
getWriter
in interfaceBooleanQueryResultWriterFactory
- Parameters:
out
- The OutputStream to write the result to.
-
-