Hi,
I am trying to rewrite a COBOL program in JAVA. This program reads in a file (record length = 10000) and has a large number of fields. I was wondering if there are in-built JAVA classes which can do the same work as COBOL record layouts or C structs.
My idea would be to write a generic class (say RecLayout) which has a method to add fields with name, starting position and length, a method to get any predefined field etc.