|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.nxt.Settings
public class Settings
leJOS NXJ persistent settings.
Constructor Summary | |
---|---|
Settings()
|
Method Summary | |
---|---|
static Properties |
getProperties()
Get leJOS NXJ persistent settings as Java Properties. |
static String |
getProperty(String key,
String defaultValue)
Get the value for a leJOS NXJ persistent setting |
static void |
setProperty(String key,
String value)
Set a leJOS NXJ persistent setting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Settings()
Method Detail |
---|
public static String getProperty(String key, String defaultValue)
key
- the name of the settingdefaultValue
- the default value
public static void setProperty(String key, String value)
key
- the name of the settingvalue
- the value to set it topublic static Properties getProperties()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |