J
Jeff Kish
Greetings.
I am not too awfully advanced when it comes to java programming, but I have
done a fair amount of c/c++.
I have some legacy data files which are fixed length binary.
I'd like to figure out the best way to read the files from a java program that
may be running on any variety of platforms, and subsequently process the data.
The data fields in each record in the file may have '\n', nulls or any other
data.
Can someone recommend the best way, or even a good way to go about reading
this file and taking the 1st n bytes and processing it etc. I'll need to
find/recognize/skip '\n' etc.
The datafiles will always have come from a Wintel machine, using probably the
default western character set whatever the heck that is.
Any gotchas/watch out fors/etc would be appreciated.
Thanks
Jeff Kish
I am not too awfully advanced when it comes to java programming, but I have
done a fair amount of c/c++.
I have some legacy data files which are fixed length binary.
I'd like to figure out the best way to read the files from a java program that
may be running on any variety of platforms, and subsequently process the data.
The data fields in each record in the file may have '\n', nulls or any other
data.
Can someone recommend the best way, or even a good way to go about reading
this file and taking the 1st n bytes and processing it etc. I'll need to
find/recognize/skip '\n' etc.
The datafiles will always have come from a Wintel machine, using probably the
default western character set whatever the heck that is.
Any gotchas/watch out fors/etc would be appreciated.
Thanks
Jeff Kish