public final class Environment extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getValue(String key,
String defaultValue)
Checks if the specified key is available in the system properties
System.getProperty(String),
environment variables System.getenv(String) or takes the default value. |
public static String getValue(String key, String defaultValue)
System.getProperty(String),
environment variables System.getenv(String) or takes the default value. In this sequence.key - Key or name of the propertydefaultValue - Value taken if nothing is availableCopyright © 2017 willhaben internet service GmbH & Co KG. All rights reserved.