utils
Class PreferencesUtils
java.lang.Object
utils.PreferencesUtils
public class PreferencesUtils
- extends java.lang.Object
Copyright DocJava, inc. User: lyon
Date: Apr 30, 2005
Time: 4:28:24 PM
Method Summary |
java.lang.Object |
restore()
restores the properties from the preference in the user root. |
void |
save(java.io.Serializable obj)
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 |
PreferencesUtils
public PreferencesUtils(java.lang.String key)
save
public void save(java.io.Serializable obj)
- saves the properties to the Preferences of the userRoot
toString
public java.lang.String toString(java.io.Serializable obj)
restore
public java.lang.Object restore()
- restores the properties from the preference in the user root.
- Returns:
- null unless key is found