Interface BinaryObjectDeserializer
- All Known Implementing Classes:
BinaryObjectDecoder
public interface BinaryObjectDeserializer
Interface for reading objects from a stream.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the underlying streamReads the next object from the stream.
-
Method Details
-
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
-