public interface Result extends MatchResult
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStopMatching()
Indicates that the matching operation won't have a different result at any point
in the future and there is no need to wait for the successful match.
|
String |
getBefore()
Returns a part of the input string from the beginning until the starting position of the
match.
|
String |
getInput()
Gets latest input string passed to the matcher before it returns.
|
boolean |
isSuccessful()
Indicates whether the match was successful or not.
|
end, end, group, group, groupCount, start, startString getInput()
boolean isSuccessful()
true if the match succeeded, or false otherwise.String getBefore()
null.IllegalStateException - if the match operation failedboolean canStopMatching()
Copyright © 2014–2018 Alexey Gavrilov and contributors. All rights reserved.