public class SystemPropertiesReader extends Object implements Reader
Map with all existing system properties.
A system property can be set dynamically or statically.
To set a system property statically, use the -D option of the java command:
java -DpropertyName=propertyValue MyApp
To set a system property dynamically, call the java.lang.System.setProperty method in your code:
System.setProperty(propertyName,"propertyValue");| Constructor and Description |
|---|
SystemPropertiesReader() |
public Map<String,PropertyValue> read()
Copyright © 2019. All rights reserved.