Package org.postgresql.util
Class ExpressionProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionProperties(Properties... defaults) Creates an empty property list with the specified defaults. -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key) Returns property value with all${propKey}like references replaced with the value of the relevant property with recursive resolution.getProperty(String key, String defaultValue) Returns raw value of a property without any replacements.Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Constructor Details
-
ExpressionProperties
Creates an empty property list with the specified defaults.- Parameters:
defaults- java.util.Properties
-
-
Method Details
-
getProperty
Returns property value with all${propKey}like references replaced with the value of the relevant property with recursive resolution.The method returns
nullif the property is not found.- Overrides:
getPropertyin classProperties- Parameters:
key- the property key.- Returns:
- the value in this property list with the specified key value.
-
getProperty
- Overrides:
getPropertyin classProperties
-
getRawPropertyValue
Returns raw value of a property without any replacements.- Parameters:
key- property name- Returns:
- raw property value
-