org.ow2.util.substitution
Interface ISubstitutionEngine
- All Known Implementing Classes:
- DefaultSubstitutionEngine
public interface ISubstitutionEngine
A SubstitutionEngine can substitute properties used in a
String by their values provided by a IPropertyResolver.
- Author:
- Guillaume Sauthier
|
Method Summary |
String |
substitute(String variableValue)
Subsitute variables found in this String with their values. |
substitute
String substitute(String variableValue)
- Subsitute variables found in this String with their values.
- Parameters:
variableValue - chain to be evaluated
- Returns:
- the given String with variable substituted with values
- Throws:
IllegalArgumentException - when the String cannot be parsed or
when variables cannot be evaluated
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.