0

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

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by ddanbe
0

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

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

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.