This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to read a CSV file ?" Watch "how to read a CSV file ?" New topic

how to read a CSV file ?

laxman kadhir

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

Joined: Mar 22, 2005
Posts: 41137
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:
subject: how to read a CSV file ?
Similar Threads
how to load a cvs file into a oracle 9i database using java
Help Needed regarding reading the csv file
Nested for loops to the point of confusion
Select query with order by is not working on CSV file
Java vs Excel