public interface SystemPropertyUtils
Modifier and Type | Method and Description |
---|---|
void |
copyDependentSystemProperties()
Some system properties are defined by external dependencies that can't be passed in
directly by Web Start, so we copy them from the web start jnlp prefixed properties
to the standard properties
|
void |
copyVariableToDefaultLocation(java.lang.String name)
Copies system properties from the javaws prefixed namespace into the default namespace
|
java.util.List<java.lang.String> |
getNormalisedProperties() |
java.lang.String |
getProperty(java.lang.String name)
Extracts system properties, either from their default name, or with the javaws prefix
|
boolean |
getPropertyAsBoolean(java.lang.String name,
boolean defaultValue)
Gets a system property as a boolean
|
java.lang.String |
getPropertyEmptyAsNull(java.lang.String name)
Extracts system properties, either from their default name, or with the javaws prefix.
|
java.util.List<java.lang.String> getNormalisedProperties()
java.lang.String getProperty(java.lang.String name)
name
- The name of the system propertyboolean getPropertyAsBoolean(java.lang.String name, boolean defaultValue)
name
- The name of the propertydefaultValue
- The default value if the property is empty or nulljava.lang.String getPropertyEmptyAsNull(java.lang.String name)
name
- The name of the system propertyvoid copyVariableToDefaultLocation(java.lang.String name)
name
- The name of the variable, excluding the javaws prefixvoid copyDependentSystemProperties()