permaculture playing cards*
The moose likes Beginning Java and the fly likes how to read a CSV file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to read a CSV file ?" Watch "how to read a CSV file ?" New topic
Author

how to read a CSV file ?

laxman kadhir
Greenhorn

Joined: Jun 14, 2006
Posts: 5
Hi all,

I hav a requirement like converting an excel file into a CSV file and then hav to read their contents ...

Previously i worked on parsing XML file using SAX parser ...but this one really sounds new to me...

Need suggestions and tip from u all...

thanks in advance ...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41635
    
  55
Handling CSV involves dealing with a number of special cases, which makes it a bit harder than it would at first appear. The easiest way may be to use an existing library, lik ethe Ostermiller Utils, which are linked on the AccessingFileFormats wiki page.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read a CSV file ?