public static interface PatternHandler.Result
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getGroups()
Returns the capturing groups of a match.
|
int |
getLengthOfMatch()
Returns the number of characters that are part of a match.
|
TokenizerProperty |
getProperty()
Returns the
TokenizerProperty that describes the pattern that
matches data passed to PatternHandler.matches(de.susebox.jtopas.spi.DataProvider) . |
TokenizerProperty getProperty()
TokenizerProperty
that describes the pattern that
matches data passed to PatternHandler.matches(de.susebox.jtopas.spi.DataProvider)
. The returned value
is not null
.int getLengthOfMatch()
java.lang.String[] getGroups() throws TokenizerException
de.susebox.jtopas.TokenizerProperties#F_RETURN_IMAGE_PARTS
is set).
Matcher
or the newer Java 1.5
MatchResult
).PatternHandler.matches(de.susebox.jtopas.spi.DataProvider)
.TokenizerException