|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a regexp pattern matcher. Different implementations vary but they all must respect this set of methods.
Field Summary | |
static org.acmsl.version.Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
Method Summary | |
boolean |
contains(java.lang.String text,
Pattern pattern)
Checks if given text contains specified pattern. |
MatchResult |
getMatch()
Retrieves the last match found due to a previous call to contains method. |
Methods inherited from interface org.acmsl.version.Versionable |
getVersion |
Field Detail |
public static final org.acmsl.version.Version VERSION
Method Detail |
public boolean contains(java.lang.String text, Pattern pattern)
text
- the text to analyze.pattern
- the regular expression to apply.
public MatchResult getMatch()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |