public class SystemEnvironmentAwarePropertyAccessor extends Object implements PropertyAccessor
PropertyAccessor implementation
which searches/loads properties from environment variables.| Constructor and Description |
|---|
SystemEnvironmentAwarePropertyAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getProperties()
Gets the all properties.
|
String |
getProperty(String propName)
Gets the property associated with given property name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBooleanProperty, getBooleanProperty, getDoubleProperty, getDoubleProperty, getFloatProperty, getFloatProperty, getIntegerProperty, getIntegerProperty, getLongProperty, getLongProperty, getProperty, hasPropertypublic SystemEnvironmentAwarePropertyAccessor()
public String getProperty(String propName)
PropertyAccessorgetProperty in interface PropertyAccessorpropName - the name of property to be retrievedpublic Map<String,String> getProperties()
PropertyAccessorgetProperties in interface PropertyAccessorCopyright © 2018. All Rights Reserved.