Interface BinaryObjectDeserializer
-
- All Known Implementing Classes:
BinaryObjectDecoder
public interface BinaryObjectDeserializer
Interface for reading objects from a stream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Closes the underlying streamObject
readObject()
Reads the next object from the stream.
-
-
-
Method Detail
-
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
-
-