faraz akram

faraz akram

  • NA
  • 1
  • 3k

reading a csv file into string array list

Mar 7 2013 7:48 AM
hi

i have a csv file with highlighted pattern below.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- REPORT: SSA ISSUANCE REPORT
- USER: 12324
- BUSINESS PARTNER: 
- DATE/TIME: 06/03/2013 14:20:10
- START DATE: 
- END DATE: 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
IssuenceID ,RSO code ,RetailerID ,Inventory Name ,MSISDN ,Serial No
2369 ,NISB1203-0007 ,796254 , ,03479713443 ,8941006090008095228

All i need is to read it in array list in java. The condition of reading is to skip it first from start till first column (IssuenceID). after that i want it to store in arraylist , every column would have a single array list , it means i should read it out in six array list (six columns) along with data of each column as list.

need a code block for above

thanks in advance 



Answers (1)