PLEASE URGENTLY HELP.
What I mean by a generic file reader is that when the java code is reading the data it might start of identifying that the first comma is at position 6 (meaning that the data is 5 characters in length before the comma) in the first line. Whereas another file will have the first comma on the first line positioned at position 9 (meaning that the data is 8 characters in length before the comma). Can the java code handle these issues? Also can the java code handle commas inside the data field as well.
Also the Java code needs to skip reading the first line in the file which is only the header information.
The file reader in java must be able to read a file regardless of the different positions of where the comma or space delimiter is placed within the file.
Look at the data file in this question.
The Java code must also be bale to read the windows directory and grab the file in question that is going to be read.
The file that is attached is a comma delimited file. However, the code should be able to work no matter what the delimiter is.
Can you please help ? I really appreciate this.