Marc
Marc

Reputation: 233

Filebased data service in Java

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!

Upvotes: 1

Views: 74

Answers (1)

Romain Hippeau
Romain Hippeau

Reputation: 24375

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: Reading a CSV file into Java as a DB table

It looks like you have all the info you need.

Upvotes: 1

Related Questions