public final class SystemProperties
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
booleanValue(java.lang.String key)
Get
boolean system property value. |
static boolean |
booleanValue(java.lang.String key,
boolean defaultValue)
Get
boolean system property value. |
static int |
intValue(java.lang.String key)
Get
int system property value. |
static int |
intValue(java.lang.String key,
int defaultValue)
Get
int system property value. |
public static boolean booleanValue(java.lang.String key)
boolean system property value.key - The property key to retrieve.false if the property is not defined.public static boolean booleanValue(java.lang.String key,
boolean defaultValue)
boolean system property value.key - The property key to retrieve.defaultValue - The default value to return in case the property is not defined.public static int intValue(java.lang.String key)
int system property value.key - The property key to retrieve.0 if the property is not defined.public static int intValue(java.lang.String key,
int defaultValue)
int system property value.key - The property key to retrieve.defaultValue - The default value to return in case the property is not defined.