Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to read a CSV file ?

 
laxman kadhir
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic