Class au.net.aba.io.ObjectInput
All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.io.ObjectInput
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.FilterInputStream
|
+----java.io.DataInputStream
|
+----au.net.aba.io.ObjectInput
- public class ObjectInput
- extends DataInputStream
- implements StreamConstants
A compatibility class which reads objects serialised using the
externalisable interface.
-
ObjectInput(InputStream)
-
-
readObject()
- Read in an object.
ObjectInput
public ObjectInput(InputStream in) throws IOException, StreamCorruptedException
readObject
public Object readObject() throws IOException, ClassNotFoundException, OptionalDataException
- Read in an object. As we are expecting an externalised stream
the only things we have to worry about are repeated objects
and class references.
- Throws: ClassNotFoundException
- If the calss of a serialised
object cannot be found.
All Packages Class Hierarchy This Package Previous Next Index