public abstract static class EObjectInputStream.Key<T>
extends java.lang.Object
implements java.io.Externalizable
| Constructor and Description |
|---|
EObjectInputStream.Key() |
EObjectInputStream.Key(T obj) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
readExternal(EObjectInputStream in)
The oclass implements the readExternal method to restore an
object by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
void |
readExternal(java.io.ObjectInput in) |
abstract void |
writeExternal(EObjectOutputStream out,
T obj)
The class implements the writeExternal method to save an object
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
void |
writeExternal(java.io.ObjectOutput out) |
public EObjectInputStream.Key(T obj)
public EObjectInputStream.Key()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic abstract void writeExternal(EObjectOutputStream out, T obj) throws java.io.IOException
out - the EObjectOutputStream stream to write the object toobj - object to savejava.io.IOException - Includes any I/O exceptions that may occurpublic abstract T readExternal(EObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in - the stream to read data from in order to restore the objectjava.io.IOException - if I/O errors occurjava.lang.ClassNotFoundException - If the class for an object being
restored cannot be found.