com.ibm.di.util
Class ParameterSubstitutionCache
java.lang.Object
com.ibm.di.util.ParameterSubstitutionCache
public class ParameterSubstitutionCache
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterSubstitutionCache
public ParameterSubstitutionCache()
isExpression
public static boolean isExpression(String str)
- Returns true if str contains expressions
stripExpression
public static String stripExpression(String str)
- Remove the enclosing curly braces from an expression. We only do this if there
is a nested {{}} present.
- Parameters:
str
-
- Returns:
- The string without the braces
substitute
public String substitute(String str,
String objectName,
Object object)
throws Exception
- Throws:
Exception
put
public void put(String objectName,
Object object)