|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.triactive.jdo.util.SystemProperty
Static methods for retrieving and system properties and converting them to various types.
These methods are very similar to others in java.lang; for example,
intValue(java.lang.String, int)
is nearly the same as Integer.getInteger(String,int).
The main difference is that these methods log warnings for invalid property
values.
Method Summary | |
static boolean |
booleanValue(java.lang.String propName,
boolean defaultValue)
Returns the value of a system property as a boolean. |
static int |
intValue(java.lang.String propName,
int defaultValue)
Returns the value of a system property as an integer. |
static java.lang.String |
stringValue(java.lang.String propName,
java.lang.String defaultValue)
Returns the value of a system property as a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean booleanValue(java.lang.String propName, boolean defaultValue)
public static int intValue(java.lang.String propName, int defaultValue)
public static java.lang.String stringValue(java.lang.String propName, java.lang.String defaultValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |