de.fuberlin.wiwiss.d2rq.helpers
Class CSVParser
java.lang.Object
de.fuberlin.wiwiss.d2rq.helpers.CSVParser
- public class CSVParser
- extends java.lang.Object
Parses the contents of a CSV file into a Map. The CVS
file must contain exactly two columns. Keys come from the
first, values from the second.
History:
08-03-2004: Initial version of this class.
- Version:
- V0.2
- Author:
- Richard Cyganiak
Method Summary |
java.util.Map |
parse()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
private java.io.BufferedReader reader
csvLineParser
private CSV csvLineParser
url
private java.lang.String url
CSVParser
public CSVParser(java.io.Reader reader)
CSVParser
public CSVParser(java.lang.String url)
parse
public java.util.Map parse()