Hi there,

I'm a newbie .. The task is to parse the given CSV file .
CSV file (Student marks list ) which has 5 columns seperated by Comma delimiter :

and the data structure is :
- class details (class name,section) only one class details CSV
- student details (student id, student name)
- marks details (sub_code,sub_name,marks,status,comments)

The task is to use independent parser class , so that it can be used by other projects (reusability).

Hence, I have used different stand-alone classes for the 5th standard(class), and student class and marks class with appropriate get().set() methods;

Now i don't know how to code for parsing...
The main thing to maintain here is to follow the correct hierarchy.
5th_standard_section_A
->Student 1
->5 Subjects Marks

->Student 2
->5subjects Marks

->Student 3
->5subjects Marks


Please do help me from the scratch ...

Thanks and Regards,
JCel

>Now i don't know how to code for parsing...

Take a look at String class methods, especially Split method..

Hi JCel, welcome here at Daniweb!
Normally, you have to show already some effort before posting here, but if you absolutely have no clue on how to start, this article may help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.