org.opencms.util
Interface I_CmsRegexSubstitution


public interface I_CmsRegexSubstitution

Interface for generating a substitution for a pattern in a string.

Since:
8.0.0

Method Summary
 String substituteMatch(String string, Matcher matcher)
          Should return the substitution for the current match of the matcher.
 

Method Detail

substituteMatch

String substituteMatch(String string,
                       Matcher matcher)
Should return the substitution for the current match of the matcher.

Parameters:
string - the base string in which the match occurred
matcher - the matcher which is currently being used
Returns:
the substitution which should be used for the current match of the matcher