jaige.util
Class Settings
java.lang.Object
jaige.util.Settings
public class Settings
- extends java.lang.Object
Title:
Description:
Copyright: Copyright (c) 2004
Company:
- Version:
- 1.0
- Author:
- Rob Taft
Constructor Summary |
Settings(java.io.File f)
|
Settings(java.lang.String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Settings
public Settings(java.io.File f)
Settings
public Settings(java.lang.String filename)
getSettings
public static Settings getSettings(java.lang.String filename)
getDefaultSettings
public static Settings getDefaultSettings()
exists
public boolean exists()
hasSetting
public boolean hasSetting(java.lang.String setting)
getSetting
public java.lang.String getSetting(java.lang.String setting)
getIntSetting
public int getIntSetting(java.lang.String setting)
getDoubleSetting
public double getDoubleSetting(java.lang.String setting)
getBooleanSetting
public boolean getBooleanSetting(java.lang.String setting)
setSetting
public void setSetting(java.lang.String setting,
java.lang.String value)
setSetting
public void setSetting(java.lang.String setting,
int value)
setSetting
public void setSetting(java.lang.String setting,
double value)
setSetting
public void setSetting(java.lang.String setting,
boolean value)
getSettings
public SortedProperties getSettings()
saveSettings
public void saveSettings()