org.openrdf.query.resultio.text
Class BooleanTextWriter

java.lang.Object
  extended by 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

Constructor Summary
BooleanTextWriter(OutputStream out)
           
 
Method Summary
 BooleanQueryResultFormat getBooleanQueryResultFormat()
          Gets the query result format that this writer uses.
 void write(boolean value)
          Writes the specified boolean value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanTextWriter

public BooleanTextWriter(OutputStream out)
Method Detail

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-2009 Aduna. All Rights Reserved.