org.browsecode.helpers.preferences
Class PreferencesFactory

java.lang.Object
  extended by 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.


Constructor Summary
PreferencesFactory()
           
 
Method Summary
static Preferences getPreferences(java.lang.String programDescriptor)
           
static Preferences getPreferences(java.lang.String fileName, java.lang.String programDescriptor, java.lang.String fileDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesFactory

public PreferencesFactory()
Method Detail

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)