// This class contains static methods for reading and writing // fixed length records import java.io.*; class FixedLengthStringIO { // Read fixed number of characters from a DataInput stream public static String readFixedLengthString(int size, DataInput in) throws IOException { char c[] = new char[size]; for (int i=0; i