I believe that you are having this problem because you have not studied the API of the classes that you are using to perform i/o. Check the API for methods that can read from a file into
Java's primitive types. You will need to read bytes into an array to form Strings, but for numeric data there are specific methods for that purpose.
Also, for the assignment, you do not have to consider that the client changes the structure of the file - just concentrate on reading from and writing to the existing file.
[ March 17, 2006: Message edited by: Barry Gaunt ]