Interface BinaryObjectDeserializer
public interface BinaryObjectDeserializer
Interface for reading objects from a stream.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the underlying streamReads the next object from the stream.
-
Method Details
-
readObject
Object readObject()Reads the next object from the stream. Throws a wrappedEOFException
if end of stream is reached.- Returns:
- The next object from the stream.
-
close
void close()Closes the underlying stream
-