|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Externalizable
Externalizable
- externalizable.
Method Summary | |
---|---|
void |
readExternal(ObjectInput in)
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
void |
writeExternal(ObjectOutput out)
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
Method Detail |
---|
void writeExternal(ObjectOutput out) throws java.io.IOException
out
- the stream to write the object to
java.io.IOException
- if an I/O exception occurredvoid readExternal(ObjectInput in) throws java.io.IOException
in
- the stream to read data from in order to restore the object
java.io.IOException
- if an I/O exception occurred
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |