tags:

views:

29

answers:

1

I've found numerous posts about reading CSV with Java and the APIs they were pointing at all had a line-oriented approach when it came to reading a CSV file. Something like "while you get a line, get the values of every column".

Are there better ways to do that?

Thanks for any suggestions!

+1  A: 

You will need a database. Whether you write your own or use a third party one.
If not you will be doing sequential searches on your data to find anything.

You might want to look at this post: http://stackoverflow.com/questions/824565/reading-a-csv-file-into-java-as-a-db-table

It looks like you have all the info you need.

Romain Hippeau