I was trying to make life easy and use the .split() method for strings: String[] tokens = line.split(Quasar.sep);. I have now realized that it will not work for the way the data is stored since fields are not required to be populated and .split() does not return whitespace strings.
Will need to write a custom parser or regex which does return empty/whitespace fields.
I was trying to make life easy and use the .split() method for strings:
String[] tokens = line.split(Quasar.sep);
. I have now realized that it will not work for the way the data is stored since fields are not required to be populated and.split()
does not return whitespace strings.Will need to write a custom parser or regex which does return empty/whitespace fields.