org.browsecode.helpers.preferences
Class PreferencesFactory
java.lang.Object
org.browsecode.helpers.preferences.PreferencesFactory
public class PreferencesFactory
- extends java.lang.Object
Preferences loads and saves prefs to a file for a particular program (or set of programs).
It also automatically saves the preferences when the system exits. You may call "savePrefs()" if you want to, but you don't have to.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreferencesFactory
public PreferencesFactory()
getPreferences
public static Preferences getPreferences(java.lang.String fileName,
java.lang.String programDescriptor,
java.lang.String fileDescription)
getPreferences
public static Preferences getPreferences(java.lang.String programDescriptor)