Here are a couple of suggestions to hopefully get you moving...
1. Sun doesn't recommend you use StringTokenizer in new code. Use String.split() instead. And if you use the split(
String regex, int limit) version, and specify -1 as the limit, it will return
all tokens unlike the annoying StringTokenizer
2. Read through each line in your file using something like this:
3. What format is the file in? e.g. are the fields in each record (line) delimited by spaces (" "), tabs, or is it fixed-length? From your post, it looks like they are actually fixed-length. If so, then you might consider parsing the record into fields using String.substring(), like this:
4. To help debug your code, approach the code one step at a time. Your first step should be to perfect your record parsing code (e.g. using split() or substring()). You could do that by creating a simple "test" method something like this:
Then, once you got that perfected, try to throw in the file reading code. When in doubt, throw in as mush logging as you can - just simple System.out.println() calls can help diagnose problems.
Hope that helps. Good luck