org.openrdf.query.resultio.text
Class BooleanTextWriter
java.lang.Object
org.openrdf.query.resultio.text.BooleanTextWriter
- All Implemented Interfaces:
- BooleanQueryResultWriter
public class BooleanTextWriter
- extends Object
- implements BooleanQueryResultWriter
Writer for the plain text boolean result format.
- Author:
- Arjohn Kampman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanTextWriter
public BooleanTextWriter(OutputStream out)
getBooleanQueryResultFormat
public final BooleanQueryResultFormat getBooleanQueryResultFormat()
- Description copied from interface:
BooleanQueryResultWriter
- Gets the query result format that this writer uses.
- Specified by:
getBooleanQueryResultFormat in interface BooleanQueryResultWriter
write
public void write(boolean value)
throws IOException
- Description copied from interface:
BooleanQueryResultWriter
- Writes the specified boolean value.
- Specified by:
write in interface BooleanQueryResultWriter
- Throws:
IOException
Copyright © 2001-2007 Aduna. All Rights Reserved.