public interface MatchContext
| Modifier and Type | Method and Description |
|---|---|
MatchResult |
getMatchResult()
Returns the match result to access group information.
|
boolean |
hasGroupMatch()
Checks if the match produced at least one group match.
|
boolean |
isMatched()
Checks if the match was successful.
|
String |
translateName(String input)
Translates the name if it contains placeholders with the matching groups.
|
boolean isMatched()
true if the match was successful, false
otherwise.MatchResult getMatchResult()
String translateName(String input)
input - the input name that may contain placeholders.input
does not contain any placeholders.boolean hasGroupMatch()
true if at least one group is matched,
false otherwise.Copyright © 2013–2019 FuseSource. All rights reserved.