public class ExpressionProperties extends Properties
| Constructor and Description |
|---|
ExpressionProperties(Properties... defaults)
Creates an empty property list with the specified defaults.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key)
Returns property value with all
${propKey} like references replaced with the value of
the relevant property with recursive resolution. |
String |
getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
String |
getRawPropertyValue(String key)
Returns raw value of a property without any replacements.
|
list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic ExpressionProperties(Properties... defaults)
defaults - java.util.Propertiespublic String getProperty(String key)
Returns property value with all ${propKey} like references replaced with the value of
the relevant property with recursive resolution.
The method returns null if the property is not found.
getProperty in class Propertieskey - the property key.Properties.setProperty(java.lang.String, java.lang.String),
Properties.defaultspublic String getProperty(String key, String defaultValue)
java.util.PropertiesgetProperty in class Propertieskey - the hashtable key.defaultValue - a default value.Properties.setProperty(java.lang.String, java.lang.String),
Properties.defaultsCopyright © 2019 PostgreSQL Global Development Group. All rights reserved.