org.springframework.core.env.PropertyResolver |
Known Indirect Subclasses |
Interface for resolving properties against any underlying source.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return whether the given property key is available for resolution.
| |||||||||||
Return the property value associated with the given key, or
null
if the key cannot be resolved. | |||||||||||
Return the property value associated with the given key.
| |||||||||||
Return the property value associated with the given key, converted to the given
targetType (never
null ). | |||||||||||
Return the property value associated with the given key, converted to the given
targetType (never
null ). | |||||||||||
Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by
getProperty(String) . | |||||||||||
Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by
getProperty(String) . |
Return whether the given property key is available for resolution.
Return the property value associated with the given key, or null
if the key cannot be resolved.
Return the property value associated with the given key.
Return the property value associated with the given key, converted to the given
targetType (never null
).
IllegalStateException | if the key cannot be resolved |
---|
Return the property value associated with the given key, converted to the given
targetType (never null
).
IllegalStateException | if the given key cannot be resolved |
---|
Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by getProperty(String)
. Unresolvable placeholders with
no default value are ignored and passed through unchanged.
text | the String to resolve |
---|
null
)IllegalArgumentException | if given text is null |
---|
Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by getProperty(String)
. Unresolvable placeholders with
no default value will cause an IllegalArgumentException to be thrown.
null
)IllegalArgumentException | if given text is null |
---|---|
IllegalArgumentException | if any placeholders are unresolvable |