|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RegExp
defines an interface for regular expression
patterns.
Method Summary | |
Match |
contains(java.lang.String input)
This specifies a method signature that checks if the input contains a match for the regular expression. |
java.util.List |
getAllMatches(java.lang.String input)
This specifies a method signature that returns a List with all Match es for the regular
expression in input . |
boolean |
matches(java.lang.String input)
This specifies a method signature that checks if the regular expression matches the input in its entirety. |
Method Detail |
public java.util.List getAllMatches(java.lang.String input)
List
with all Match
es for the regular
expression in input
.
input
- the String
where to look for matches
List
of Match
espublic boolean matches(java.lang.String input)
input
- the String
to check
boolean
public Match contains(java.lang.String input)
Match
is returned, null
otherwise.
input
- the String
to check
Match
or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |