Interface semper.util.serial.StreamInputInterface
All Packages Class Hierarchy This Package Previous Next Index
Interface semper.util.serial.StreamInputInterface
- public interface StreamInputInterface
- extends Object
- extends DataInput
This interface defines methods read<type>
to cause
internal object state to be read from the external representation.
The readObject
composes the internal state
of an object from a series of primitive data type values that can
be read with these methods. StreamInputInterface supports
reading all the Java-basic data types.
- Version:
- 2.0, 05/28/96
- Author:
- Günter Karjoth, Michael Steiner
- See Also:
- Streamable, StreamOutputInterface
-
readObject()
- Internalizes an object.
readObject
public abstract Object readObject() throws IOException, StreamIOException
- Internalizes an object. By calling this method the object will
decode itself to a state defined by the data stream.
- Returns:
- an object implementing the Streamable interface
- Throws: IOException
- If a class is not present or the input
data is corrupt
- See Also:
- writeObject
All Packages Class Hierarchy This Package Previous Next Index