|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Storable<T>
A Storable is a model that can be read from and written to a file.
Method Summary | |
---|---|
void |
clear()
st.clear() sets st to an initial state with empty content. |
void |
read(java.io.File f)
st.read(f) reads into st from the file f. |
void |
write(java.io.File f)
st.write(f) writes from st to the file f. |
Methods inherited from interface conversion.Named |
---|
getName |
Methods inherited from interface mvc.Model |
---|
getValue |
Methods inherited from interface mvc.CallbackRegistry |
---|
addCallback, removeCallback |
Method Detail |
---|
void clear()
void read(java.io.File f) throws java.io.IOException
f
-
java.io.IOException
void write(java.io.File f) throws java.io.IOException
f
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |