public interface Externalizable
| Modifier and Type | Method and Description |
|---|---|
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
void write(XmlWriter writer) throws IOException
The object implements the write method to save its contents by calling the methods of Output.
writer - the stream to write the object toIOExceptionvoid read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
reader - the stream to read data from in order to restore the objectCopyright © 2017. All rights reserved.