com.hp.hpl.jena.sparql.resultset
Class CSVOutput
java.lang.Object
com.hp.hpl.jena.sparql.resultset.OutputBase
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 output full RDf terms (in Turtle-style).
The CSV format supported is:
- First row is variable names without '?'
- Strings, quoted if necessary and numbers output only.
No language tags, or datatypes.
URIs are send without $lt;>
CSVOutput
public CSVOutput()
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
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.