org.openrdf.query.resultio.binary
Class BinaryQueryResultWriterFactory

java.lang.Object
  extended by org.openrdf.query.resultio.binary.BinaryQueryResultWriterFactory
All Implemented Interfaces:
TupleQueryResultWriterFactory

public class BinaryQueryResultWriterFactory
extends Object
implements TupleQueryResultWriterFactory

A TupleQueryResultWriterFactory for writers of binary query results.

Author:
Arjohn Kampman

Constructor Summary
BinaryQueryResultWriterFactory()
           
 
Method Summary
 TupleQueryResultFormat getTupleQueryResultFormat()
          Returns TupleQueryResultFormat.BINARY.
 TupleQueryResultWriter getWriter(OutputStream out)
          Returns a new instance of BinaryQueryResultWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryQueryResultWriterFactory

public BinaryQueryResultWriterFactory()
Method Detail

getTupleQueryResultFormat

public TupleQueryResultFormat getTupleQueryResultFormat()
Returns TupleQueryResultFormat.BINARY.

Specified by:
getTupleQueryResultFormat in interface TupleQueryResultWriterFactory

getWriter

public TupleQueryResultWriter getWriter(OutputStream out)
Returns a new instance of BinaryQueryResultWriter.

Specified by:
getWriter in interface TupleQueryResultWriterFactory
Parameters:
out - The OutputStream to write the result to.


Copyright © 2001-2007 Aduna. All Rights Reserved.