|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.acmsl.regexpplugin.gnuregexp.MatcherGNUAdapter
GNU Regexp 1.1.4 matcher adapter. This class makes possible the use of GNU Regexp 1.1.4 matchers inside this API.
| Field Summary | |
static org.acmsl.version.Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
| Constructor Summary | |
MatcherGNUAdapter()
Constructs a MatcherGNUAdapter. |
|
| Method Summary | |
boolean |
contains(java.lang.String text,
Pattern pattern)
Checks if given text contains specified pattern. |
static org.acmsl.version.Version |
getClassVersion()
Retrieves the current version of this class. |
protected int |
getGroups()
Retrieves the group count. |
MatchResult |
getMatch()
Retrieves the last match found due to a previous call to contains method. |
protected gnu.regexp.REMatchEnumeration |
getREMatchEnumeration()
Retrieves the match enumeration. |
org.acmsl.version.Version |
getVersion()
Retrieves the current version of this object. |
protected void |
setGroups(int groups)
Sets the group count. |
protected void |
setREMatchEnumeration(gnu.regexp.REMatchEnumeration reMatchEnumeration)
Sets the match enumeration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.acmsl.version.Version VERSION
| Constructor Detail |
public MatcherGNUAdapter()
| Method Detail |
public boolean contains(java.lang.String text,
Pattern pattern)
contains in interface Matchertext - the text to analyze.pattern - the regular expression to apply.
protected void setREMatchEnumeration(gnu.regexp.REMatchEnumeration reMatchEnumeration)
protected gnu.regexp.REMatchEnumeration getREMatchEnumeration()
protected void setGroups(int groups)
groups - the number of groups.protected int getGroups()
public MatchResult getMatch()
getMatch in interface Matcherpublic org.acmsl.version.Version getVersion()
getVersion in interface org.acmsl.version.Versionablepublic static org.acmsl.version.Version getClassVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||