com.hp.hpl.jena.sparql.resultset
Class CSVOutput

java.lang.Object
  extended by com.hp.hpl.jena.sparql.resultset.OutputBase
      extended by com.hp.hpl.jena.sparql.resultset.CSVOutput
All Implemented Interfaces:
OutputFormatter

public class CSVOutput
extends OutputBase

Convenient comma separated values - see also TSV (tab separated values) which outputs full RDF terms (in Turtle-style). The CSV format supported is:


Constructor Summary
CSVOutput()
           
 
Method Summary
 void format(OutputStream out, boolean booleanResult)
          Format a boolean result - output on the given stream
 void format(OutputStream out, ResultSet resultSet)
          Format a result set - output on the given stream
 
Methods inherited from class com.hp.hpl.jena.sparql.resultset.OutputBase
asString, asString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVOutput

public CSVOutput()
Method Detail

format

public void format(OutputStream out,
                   ResultSet resultSet)
Description copied from interface: OutputFormatter
Format a result set - output on the given stream


format

public void format(OutputStream out,
                   boolean booleanResult)
Description copied from interface: OutputFormatter
Format a boolean result - output on the given stream



Licenced under the Apache License, Version 2.0