com.springsource.util.common
Interface PropertyPlaceholderResolver.PlaceholderValueTransformer
- Enclosing class:
- PropertyPlaceholderResolver
public static interface PropertyPlaceholderResolver.PlaceholderValueTransformer
An interface for property placeholder modifiers. Implementations of this interface are called when a property
placeholder modifier is detected on a class.
Concurrent Semantics
Implementations must be threadsafe.
- Since:
- 2.0.0
- Author:
- Ben Hale
Method Summary |
java.lang.String |
transform(java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String modifier)
Transforms a property from its initial value to some other value |
transform
java.lang.String transform(java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String modifier)
- Transforms a property from its initial value to some other value
- Parameters:
propertyName
- the name of the property being transformedpropertyValue
- the original value of the propertymodifier
- the modifer string attached to the placeholder
- Returns:
- A string that has been modified by this transformer and to be used in place of the original value