|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsystem.framework.JSystemProperties
JSystemsProperties takes care for jsystem properties. JSystemProperties is implemented as singleton so to instance you get from JSystremProperties.getInstance()
Method Summary | |
static JSystemProperties |
getInstance()
Return instance of JSystemProperties. |
String |
getPreference(String key)
|
protected Properties |
getPreferences()
|
void |
reloadPreferences()
Reload preferences from file. |
void |
savePreferences()
Store jsystem preferences to file |
void |
setPreference(String key,
String value)
Assign key to value and store it to jsystem preferences |
void |
setPreferences(Properties preferences)
Set preferences to jsystem preferences. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static JSystemProperties getInstance()
public void reloadPreferences()
public String getPreference(String key)
protected Properties getPreferences()
public void savePreferences() throws IOException
IOException
public void setPreference(String key, String value) throws IOException
IOException
public void setPreferences(Properties preferences) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |