|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.dctl.j2me.system.PropertyManager
The property manager is reponsible for all the system properties. System properties are configured in config.xml and api xml files.
| Constructor Summary | |
PropertyManager()
|
|
| Method Summary | |
static int |
getIntegerProperty(java.lang.String name,
int defaultValue)
Get a property as an integer. |
static java.lang.String |
getProperty(java.lang.String key)
Get a property |
static void |
setProperty(java.lang.String key,
java.lang.String value)
Set a property. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyManager()
| Method Detail |
public static final java.lang.String getProperty(java.lang.String key)
public static final void setProperty(java.lang.String key,
java.lang.String value)
key - The keyvalue - The value
public static final int getIntegerProperty(java.lang.String name,
int defaultValue)
name - The property namedefaultValue - The default value
NullPointerException - if the key is null
IllegalArgumentException - if the key is empty
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||