public interface PatternMatcherBean
PatternRegex
and whose methods are annotated with
MatcherGroup
.Modifier and Type | Method and Description |
---|---|
default void |
initialize(CharSequence sequence)
Method to initialize fields and methods annotated with
MatcherGroup with the results of parsing the sequence
argument. |
default Matcher |
matcher(CharSequence sequence)
Method to get the
Matcher for the argument input. |
default Pattern |
pattern()
Method to get the compiled
Pattern for this annotated bean. |
default void initialize(CharSequence sequence)
MatcherGroup
with the results of parsing the sequence
argument.sequence
- The CharSequence
to parse.IllegalArgumentException
- If the CharSequence
does not match
the PatternRegex.value()
.default Matcher matcher(CharSequence sequence)
Matcher
for the argument input.sequence
- The CharSequence
to parse.Matcher
for the pattern()
applied to
the CharSequence
.Copyright © 2015–2020 Allen D. Ball. All rights reserved.