|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.settings.SettingsHandler
Controls access to all Settings classes, providing easy ways to reload, save, revert, etc.. all of them at once time.
Method Summary | |
static void |
addSettings(AbstractSettings setting)
Adds a settings class to the list of factories that this handler will act upon. |
static void |
reload()
Reload settings from both the property and configuration files. |
static void |
removeSettings(AbstractSettings setting)
Removes a settings class from the list of factories that this handler will act upon. |
static void |
revertToDefault()
Revert all settings to their default value. |
static void |
save()
Save property settings to the property file. |
static void |
setShouldSave(boolean shouldSave)
Mutator for shouldSave. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void addSettings(AbstractSettings setting)
public static void removeSettings(AbstractSettings setting)
public static void reload()
public static void save()
public static void revertToDefault()
public static void setShouldSave(boolean shouldSave)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |