org.sca4j.host.expression
Interface ExpressionExpander
public interface ExpressionExpander
Expands strings containing expressions delimited by '${' and '}' by delegating to an ExpressionEvaluator. Expression values may be sourced using a
variety of methods, including system and environment properties. Expression expansion is used to subsitute configuration values specified in a
composite file with runtime values. For example:
|
Method Summary |
java.lang.String |
expand(java.lang.String value)
A string value containing an expression or expressions to expand. |
expand
java.lang.String expand(java.lang.String value)
throws ExpressionExpansionException
- A string value containing an expression or expressions to expand. The string may contain multiple expressions.
- Parameters:
value - the value to expand
- Returns:
- the expanded string
- Throws:
ExpressionExpansionException - if an error occurs evaluating an expression
Copyright © 2008-2011 Service Symphony. All Rights Reserved.