public class StraightExpansionImpl extends AbstractExpansion
CFG_COMMENT_STR, DEFAULT_CONFIG_FILE_NAME, DEFAULT_VALUE_SEPARATOR, expansionTable, RULE_SPLIT_REGEX, rulePattern, SEPARATOR_PREFIX
Constructor and Description |
---|
StraightExpansionImpl() |
Modifier and Type | Method and Description |
---|---|
protected String |
doExpansion(String original,
String[] rule)
Performs an expansion using straight string equality and substitution for both parts of the
rule.
|
addExpansionList, addExpansionRule, expand, expand, getExpansionMap, loadConfiguration, removeExpansionRule, setAttributeSeparator, setExpansionFileName, setExpansionMap, setExpansionRules, split, update
protected String doExpansion(String original, String[] rule)
doExpansion
in class AbstractExpansion
original
- The original string to be expandedrule
- Two values specifying the expression to search for and the string to replace it
withThis work is licensed under a Creative Commons Attribution 4.0 International License.