public class SystemPropertiesUtil
extends java.lang.Object
| Constructor and Description |
|---|
SystemPropertiesUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getPropertyOrDefaultSandbox(java.lang.String propertyName,
java.lang.String defaultVal)
Attempts to retrieve a system property; if the property is not found, or if a SecurityException is thrown (for
example, in a sandbox environment) will return the default value.
|
public static java.lang.String getPropertyOrDefaultSandbox(java.lang.String propertyName,
java.lang.String defaultVal)
propertyName - property to retrievedefaultVal - value to use if not found, or not allowed to use the propertyCopyright © 2014. All Rights Reserved.