public class SystemPropertiesUtil extends Object
| Constructor and Description |
|---|
SystemPropertiesUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getPropertyOrDefaultSandbox(String propertyName,
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 String getPropertyOrDefaultSandbox(String propertyName, String defaultVal)
propertyName - property to retrievedefaultVal - value to use if not found, or not allowed to use the propertyCopyright © 2015. All rights reserved.