File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Can POI read CSV files" Watch "Can POI read CSV files" New topic
Author

Can POI read CSV files

Abhishek Mish
Greenhorn

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.

Thanks,
Abhishek



Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41525
    
  53
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
Greenhorn

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.

Thanks,
Abhishek
 
Consider Paul's rocket mass heater.
 
subject: Can POI read CSV files