The moose likes Other Open Source Projects and the fly likes Can POI read CSV files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Can POI read CSV files" Watch "Can POI read CSV files" New topic

Can POI read CSV files

Abhishek Mish

Joined: Dec 21, 2007
Posts: 29
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.


Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41062
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.

Ping & DNS - my free Android networking tools app
Abhishek Mish

Joined: Dec 21, 2007
Posts: 29
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.

I agree. Here's the link: http://aspose.com/file-tools
subject: Can POI read CSV files
Similar Threads
Writing csv files
how to read pst files using Java
Need help to solve one java program
Reading data from Excel
Tabular Data