public class InputStreamAwarePropertyAccessor extends Object implements PropertyAccessor
InputStream based PropertyAccessor implementation
which searches/loads properties from given InputStream.| Constructor and Description |
|---|
InputStreamAwarePropertyAccessor(InputStream... inputStreams) |
| 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 InputStreamAwarePropertyAccessor(InputStream... inputStreams)
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.