Proper retrieval of objects from an ObjectStream into a Vector
posted 15 years ago
I have some serialized Person-objects in a file("object.basket"). Now I want to retrieve those objects and load them (or references rather) into Vector. How does one know that all objects are retrieved? I tried this:
(where personnel is a reference to a Vector-object). The Person-objects do get stored in the personnel-Vector, but I get an EOFException (expecting code) ?? People can u help me out?