de.cesr.lara.toolbox.io
Class SimpleCsvInput
java.lang.Object
de.cesr.lara.toolbox.io.SimpleCsvInput
public class SimpleCsvInput
- extends Object
Simple utility to read values from a csv file. Assumes the file has a header
row. Column headers will be used to obtain column data. ";" separates the
columns. "," separates values in the same column. "." is used for floating
values. Encoding of csv file should be utf-8. TODO test and comment
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCsvInput
public SimpleCsvInput(String inputFilePath)
throws IOException
- Path to file e.g. input/myFile.csv
- Parameters:
inputFilePath
-
- Throws:
IOException
getRows
public List<SimpleCsvInput.Row> getRows()