public class SimpleStringSubstitution
extends java.lang.Object
Implementation of VariableSubstitutable
.
Constructor and Description |
---|
SimpleStringSubstitution() |
SimpleStringSubstitution(boolean verbose,
boolean strict) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
doSubstitution(java.lang.String input,
java.util.Properties variableSubs,
java.lang.String variablePrefix,
java.lang.String variablePostFix)
Do the substitution.
|
public SimpleStringSubstitution()
public SimpleStringSubstitution(boolean verbose, boolean strict)
public java.lang.String doSubstitution(java.lang.String input, java.util.Properties variableSubs, java.lang.String variablePrefix, java.lang.String variablePostFix) throws CoreException
input
- the input string.variableSubs
- the set or variables.variablePrefix
- the variable prefixvariablePostFix
- the variable postfixCoreException
- if the substitutions failed (e.g. some variables were undefined when using Constants#VAR_SUB_STRICT