public interface Saveable
Modifier and Type | Method and Description |
---|---|
void |
load(DataInput i)
Load the object using the given input stream.
|
void |
store(DataOutput o)
Stores the object to the given output stream.
|
void store(DataOutput o) throws IOException
o
- output streamIOException
- if an I/O error occursvoid load(DataInput i) throws IOException
i
- the input stream used to load the objectIOException
- if an I/O error occursCopyright © 2016 Egothor. All Rights Reserved.