Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can POI read CSV files

 
Abhishek Mish
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to know if POI is able to read CSV files.
Although CSV files are text file which can be parsed/read using simple java.
Is there any open-source which provides api to read/parse csv file.
OpenCSV is one of the open-source api which provides api to parse and bind data to beans which can be saved to the database.
Please provide info if there is any another good way to parse csv file validate data and saved to the database.

Thanks,
Abhishek



 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
POI can't handle CSV, but http://faq.javaranch.com/java/AccessingFileFormats points to several other libraries that can, in case OpenCSV is not to your liking.
 
Abhishek Mish
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for responding..
I look at the various opensource api avialable, If performance is the bottleneck then which is the better way to do.
Using Java IO or using openCSV.

Thanks,
Abhishek
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic