de.cesr.lara.toolbox.io
Class SimpleCsvInput

java.lang.Object
  extended by 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


Nested Class Summary
 class SimpleCsvInput.Row
           
 
Constructor Summary
SimpleCsvInput(String inputFilePath)
          Path to file e.g. input/myFile.csv
 
Method Summary
 List<SimpleCsvInput.Row> getRows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCsvInput

public SimpleCsvInput(String inputFilePath)
               throws IOException
Path to file e.g. input/myFile.csv

Parameters:
inputFilePath -
Throws:
IOException
Method Detail

getRows

public List<SimpleCsvInput.Row> getRows()