edu.yale.emailet
Class ObjectLoaderImpl

java.lang.Object
  |
  +--edu.yale.emailet.ObjectLoaderImpl
All Implemented Interfaces:
ObjectLoader

public class ObjectLoaderImpl
extends java.lang.Object
implements ObjectLoader

A object loader simply deserialize and return an object. For more info, see the doc for the ObjectLoader interface.

See Also:
ObjectLoader

Constructor Summary
ObjectLoaderImpl()
           
 
Method Summary
 java.lang.Object readObject(java.io.ObjectInputStream inStream)
          deserialize an object from inStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectLoaderImpl

public ObjectLoaderImpl()
Method Detail

readObject

public java.lang.Object readObject(java.io.ObjectInputStream inStream)
                            throws java.io.OptionalDataException,
                                   java.lang.ClassNotFoundException,
                                   java.io.IOException,
                                   java.io.StreamCorruptedException
deserialize an object from inStream.

Specified by:
readObject in interface ObjectLoader
java.io.OptionalDataException
java.lang.ClassNotFoundException
java.io.IOException
java.io.StreamCorruptedException