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?
开发者_JS百科Thanks for any suggestions!
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.
精彩评论