Interface BinaryObjectDeserializer
-
public interface BinaryObjectDeserializerInterface for reading objects from a stream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the underlying streamObjectreadObject()Reads the next object from the stream.
-
-
-
Method Detail
-
readObject
Object readObject()
Reads the next object from the stream. Throws a wrappedEOFExceptionif end of stream is reached.- Returns:
- The next object from the stream.
-
close
void close()
Closes the underlying stream
-
-