Package org.opencms.util
Interface I_CmsRegexSubstitution
-
- All Known Implementing Classes:
CmsRemoveInnerNameFallback
public interface I_CmsRegexSubstitution
Interface for generating a substitution for a pattern in a string.- Since:
- 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
substituteMatch(java.lang.String string, java.util.regex.Matcher matcher)
Should return the substitution for the current match of the matcher.
-
-
-
Method Detail
-
substituteMatch
java.lang.String substituteMatch(java.lang.String string, java.util.regex.Matcher matcher)
Should return the substitution for the current match of the matcher.- Parameters:
string
- the base string in which the match occurredmatcher
- the matcher which is currently being used- Returns:
- the substitution which should be used for the current match of the matcher
-
-