Trex Lim
Posts: 3
Nickname: trexlim
Registered: Dec, 2002
|
|
Re: Reading flat files from java which has no delimiters
|
Posted: Dec 22, 2002 8:44 PM
|
|
Telkapallin Nalini: I think there should be two processing involved to extract each field, which are extracting record (row), then the field. In fact, there is a deliminator for each row (that is carriage return (\n)). While your field is deliminated by length. What I did for my project was to read each row using readLine(). Then, like what the other reply suggested, use substring(begin, end) to extract each field. I hope this will help.
|
|