| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutils.PreferencesUtils
public class PreferencesUtils
Copyright DocJava, inc. User: lyon
Date: Apr 30, 2005 Time: 4:28:24 PM
| Constructor Summary | |
|---|---|
| PreferencesUtils(java.lang.String key) | |
| Method Summary | |
|---|---|
| static void | main(java.lang.String[] args) | 
|  java.lang.Object | restore()restores the properties from the preference in the user root. | 
| static java.lang.Object | restore(java.io.File f) | 
|  void | save(java.io.Serializable obj)saves the properties to the Preferences of the userRoot | 
| static void | save(java.io.Serializable obj,
     java.io.File f)saves the properties to the Preferences of the userRoot | 
|  java.lang.String | toString(java.io.Serializable obj) | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PreferencesUtils(java.lang.String key)
| Method Detail | 
|---|
public static void save(java.io.Serializable obj,
                        java.io.File f)
obj - a serializable object that is to be savedf - file into which the save occurspublic void save(java.io.Serializable obj)
public java.lang.String toString(java.io.Serializable obj)
public java.lang.Object restore()
public static java.lang.Object restore(java.io.File f)
public static void main(java.lang.String[] args)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||