org.postgresql.util
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) |
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, stringPropertyNames
public 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 Properties
key
- the property key.public String getProperty(String key, String defaultValue)
getProperty
in class Properties
Copyright © 2019 PostgreSQL Global Development Group. All rights reserved.