aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39541
    
  27
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 - updated with new look and Ping home screen widget
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can POI read CSV files
 
Similar Threads
Reading data from Excel
Tabular Data
Writing csv files
Need help to solve one java program
how to read pst files using Java