public class JdkMatcher extends Matcher
| Constructor and Description |
|---|
JdkMatcher(String input,
Pattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains()
Test if a regular expression matches parts of the input
|
protected Matcher |
getMatcher() |
boolean |
matches()
Test if a regular expression matches the complete input
|
String |
substitute(String substitution)
Replace all matches in the input with a string substitution.
|
String |
substitute(Substitution substitution)
Replace all matches in the input with a substitution.
|
public String substitute(Substitution substitution)
Matchersubstitute in class Matchersubstitution - Code which handles every substitutionpublic String substitute(String substitution)
Matchersubstitute in class Matchersubstitution - String to replace all matchesprotected Matcher getMatcher()
public boolean contains()
MatcherCopyright © 2003–2022 Sakai Project. All rights reserved.