public interface PropertiesProvider
Modifier and Type | Method and Description |
---|---|
java.util.Properties |
getProperties()
Gets all properties from a preinitialized
java.util.Properties object. |
java.lang.String |
getProperty(java.lang.String key)
Gets a value of a property from a preinitialized
java.util.Properties object. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Gets a value of a property from a preinitialized
java.util.Properties object. |
java.util.Properties getProperties()
java.util.Properties
object.java.util.Properties
objectjava.lang.String getProperty(java.lang.String key)
java.util.Properties
object. In case there is no
such key in the Properties object, null
is returned.key
- A property keynull
is returnedjava.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
java.util.Properties
object. In case there is no
such key in the Properties object, the defaultValue is returned.key
- A property keydefaultValue
- If there is no value for the given key, the defaultValue is returned