public class SystemPropertyLoader extends Object implements PropertyLoader
| Constructor and Description |
|---|
SystemPropertyLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key)
Gets the value mapped with the specified key.
|
String |
getProperty(String key,
String defaultValue)
Gets the value mapped with the specified key or a default value.
|
@Nullable public String getProperty(String key)
PropertyLoadergetProperty in interface PropertyLoaderkey - the key.null if the property is not found.public String getProperty(String key, String defaultValue)
PropertyLoadergetProperty in interface PropertyLoaderkey - the key.defaultValue - the default value.