public final class WrapperSystemPropertyUtil
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static boolean |
getBooleanProperty(java.lang.String name,
boolean defaultValue) |
Resolves a boolean property.
|
static int |
getIntProperty(java.lang.String name,
int defaultValue) |
Resolves an integer property.
|
static long |
getLongProperty(java.lang.String name,
long defaultValue) |
Resolves a long property.
|
static java.lang.String |
getStringProperty(java.lang.String name,
java.lang.String defaultValue) |
Resolves a string property.
|
public static java.lang.String getStringProperty(java.lang.String name, java.lang.String defaultValue)
name
- The name of the property to lookup.defaultValue
- The value to return if it is not set or is invalid.public static boolean getBooleanProperty(java.lang.String name, boolean defaultValue)
name
- The name of the property to lookup.defaultValue
- The value to return if it is not set or is invalid.public static int getIntProperty(java.lang.String name, int defaultValue)
name
- The name of the property to lookup.defaultValue
- The value to return if it is not set or is invalid.public static long getLongProperty(java.lang.String name, long defaultValue)
name
- The name of the property to lookup.defaultValue
- The value to return if it is not set or is invalid.