public class PropertiesConfigurationHelper extends BasicConfigurationHelper<Properties>
Properties
object.| Constructor and Description |
|---|
PropertiesConfigurationHelper(Properties properties)
Builds a new dedicated instance from a specific
Properties object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMandatoryString(String key)
Returns the
String value associated with the specified key. |
String |
getString(String key)
Returns the
String value associated with the specified key. |
getBean, getBoolean, getDouble, getInt, getLong, getMandatoryBoolean, getMandatoryDouble, getMandatoryInt, getMandatoryLonggetNullValueProvider, setNullValueProviderpublic PropertiesConfigurationHelper(Properties properties)
Properties object.properties - the Properties to be maintained by this helperpublic String getString(String key)
ConfigurationDataRetrieverString value associated with the specified key.key - the property key (some implementations may also accept a path expression,
e.g: JSONPath)String value associated with the specified keypublic String getMandatoryString(String key)
ConfigurationDataRetrieverString value associated with the specified key.key - the property key (some implementations may also accept a path expression,
e.g: JSONPath)String value associated with the specified keyCopyright © 2021. All rights reserved.