org.openrdf.query.resultio.text.csv
Class SPARQLResultsCSVWriterFactory

java.lang.Object
  extended by org.openrdf.query.resultio.text.csv.SPARQLResultsCSVWriterFactory
All Implemented Interfaces:
TupleQueryResultWriterFactory

public class SPARQLResultsCSVWriterFactory
extends Object
implements TupleQueryResultWriterFactory

A TupleQueryResultWriterFactory for writers of SPARQL/CSV tuple query results.

Author:
Jeen Broekstra

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

Constructor Detail

SPARQLResultsCSVWriterFactory

public SPARQLResultsCSVWriterFactory()
Method Detail

getTupleQueryResultFormat

public TupleQueryResultFormat getTupleQueryResultFormat()
Returns TupleQueryResultFormat.CSV.

Specified by:
getTupleQueryResultFormat in interface TupleQueryResultWriterFactory

getWriter

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

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


Copyright © 2001-2012 Aduna. All Rights Reserved.