I have this weird situation where I have to read horizontally. So I am getting a csv file which has data in horizontal format. Like below:
CompanyName,RunDat
As other has suggested for splitting and parsing you can use opencsv
For simple data, split them by "," and parse it and ,Use List to add all these values.