• Post Reply Bookmark Topic Watch Topic
  • New Topic

SuperCSV: How can I write one method that reads different CSV file consisting differnt column length  RSS feed

 
Nimu Chox
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,


I would like to write one method for reading different CSV files of different lengths, any advice?

Any help will be appreciated.


Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does length have to do with CSV?
 
Nimu Chox
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

one csv file has 8 columns, and the other one has 6 columns.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What problem are you facing, exactly? If SuperCSV isn't capable of reading CSV files of any size, consider using one of the other available libraries.
 
K. Tsang
Bartender
Posts: 3632
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked SuperCSV Javadoc
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!