|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdist1.acb.common.transport.ObjectReaderWriter
Creates abstraction of method for object's reading/writing
| Method Summary | |
static java.lang.Object |
read(java.io.ObjectInputStream in)
Read an object from an ObjectInputStream |
static void |
write(java.io.ObjectOutputStream out,
java.lang.Object obj)
Write the specified object to an ObjectOutputStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.Object read(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - The stream
java.io.IOException - Any of the usual Input/Output related exceptions
java.lang.ClassNotFoundException - Class of a serialized object cannot be
found
public static void write(java.io.ObjectOutputStream out,
java.lang.Object obj)
throws java.io.IOException
out - The streamobj - the object to be written
java.io.IOException - Any exception thrown by the underlying OutputStream
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||