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
Modifier and TypeMethodDescriptionsubstituteMatch
(String string, Matcher matcher) Should return the substitution for the current match of the matcher.
-
Method Details
-
substituteMatch
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
-