| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objecteu.gressly.io.Persistent
public class Persistent
Persistent
 This class is used to hold the data permanent.
 Call "load()" at startup of the application and call "save()"
 at the end.
| Constructor Summary | |
|---|---|
Persistent()
 | 
|
| Method Summary | |
|---|---|
static java.lang.Object | 
load(java.lang.String persistentFileName)
Load a previously saved object.  | 
static void | 
save(java.lang.Object data,
     java.lang.String persistentFileName)
Save any (serializable) object to a file with the above filename  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Persistent()
| Method Detail | 
|---|
public static void save(java.lang.Object data,
                        java.lang.String persistentFileName)
                 throws java.io.IOException
data - The object to save
java.io.IOException
public static java.lang.Object load(java.lang.String persistentFileName)
                             throws java.lang.Exception
java.lang.Exception
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||