I am new to java and csv files. I would like to store a csv file in a multidimensional string array but I don't know the number of lines in the file and its fields.
So how can I get the number of lines (e.g. rows)
String[][] myStringArray = new String [X][5];
need the value of X
Also i would like to write to a csv file having header
ID,Time,Name,Comment
14,Mon Apr 06 23:48:45 PDT 2009,scotthamilton,"App"
which libraries are best to use
Thanks