Package org.apache.jena.sparql.resultset
Class CSVInput
- java.lang.Object
-
- org.apache.jena.sparql.resultset.CSVInput
-
public class CSVInput extends java.lang.ObjectConvenient comma separated values - see also TSV (tab separated values) which outputs 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;> CSV is RFC 4180, but there are many variations.
The code also allows for parsing boolean results where we expect the header to be a single string from the set: true yes false no
Any other value is considered an error for parsing a boolean results and anything past the first line is ignored
-
-
Constructor Summary
Constructors Constructor Description CSVInput()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultSetfromCSV(java.io.InputStream in)
-
-
-
Method Detail
-
fromCSV
public static ResultSet fromCSV(java.io.InputStream in)
-
-