|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Storable
Interface that abstracts the general storage and loading methods used to persist objects.
Method Summary | |
---|---|
void |
load(byte[] input)
Populates the object's internal properties from the given byte stream. |
byte[] |
store()
Stores this object in a byte array. |
Method Detail |
---|
byte[] store() throws OBException, IOException
out
- A DataOutputStream where values can be stored
OBException
IOException
void load(byte[] input) throws OBException, IOException
input
- byte array from where we will load data.
OBException
- if the data cannot be loaded.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |