All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class examples.jdbc.SerializationInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.ObjectInputStream
                   |
                   +----examples.jdbc.SerializationInputStream

public synchronized class SerializationInputStream
extends ObjectInputStream
This subclass of ObjectInputStream implement the resolveObject method to allow objects to be resolved from an alternate source. All the instances of SerializationMarker will be replaced by an instance of Framework.

See Also:
SerializationMarker

Constructor Index

 o SerializationInputStream(InputStream, Framework)
Create an SerializationInputStream that reads from the specified InputStream and resolve objects.

Constructors

 o SerializationInputStream
 public SerializationInputStream(InputStream inputStream,
                                 Framework cmf) throws IOException, StreamCorruptedException
Create an SerializationInputStream that reads from the specified InputStream and resolve objects.

Throws: StreamCorruptedException
The version or magic number are incorrect.
Throws: IOException
An exception occurred in the underlying stream.

All Packages  Class Hierarchy  This Package  Previous  Next  Index