file
Interface Storable<T>

All Superinterfaces:
CallbackRegistry, Model<T>, Named, NamedModel<T>

public interface Storable<T>
extends NamedModel<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

clear

void clear()
st.clear() sets st to an initial state with empty content.


read

void read(java.io.File f)
          throws java.io.IOException
st.read(f) reads into st from the file f.

Parameters:
f -
Throws:
java.io.IOException

write

void write(java.io.File f)
           throws java.io.IOException
st.write(f) writes from st to the file f.

Parameters:
f -
Throws:
java.io.IOException