com.hp.hpl.jena.sparql.resultset
Class CSVInput
java.lang.Object
com.hp.hpl.jena.sparql.resultset.CSVInput
public class CSVInput
- extends Object
Convenient 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.
This code read the file and treats everything as strings.
CSVInput
public CSVInput()
fromCSV
public static ResultSet fromCSV(InputStream in)
Licenced under the Apache License, Version 2.0