Interface semper.util.serial.StreamOutputInterface
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.util.serial.StreamOutputInterface

public interface StreamOutputInterface
extends Object
extends DataOutput
This interface defines method writeObject to decompose the internal state of an object in a series of primitive data type values that can be written with basic methods. StreamOutputInterface supports writing of the Java-basic data types as well as objects of class String, Vector, and of classes implementing the Streamable interface.
Version:
2.0, 05/28/96
Author:
Günter Karjoth, Michael Steiner
See Also:
Streamable, StreamInputInterface

Method Index

 o writeObject(Object)
Externalizes an object.

Methods

 o writeObject
  public abstract void writeObject(Object o) throws IOException, StreamIOException
Externalizes an object. By calling this method the object will encode itself. This method should be overriden in a subclass to implement the writing of the object's attributes.
Parameters:
object - the object to be written
Returns:
no return value
Throws: IOException
If a subobject does not implement the Streamable interface.
See Also:
readObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index