|
|||||||||
Home >> All >> org >> acmsl >> regexpplugin >> [ gnuregexp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.acmsl.regexpplugin.gnuregexp
Class MatcherGNUAdapter

java.lang.Objectorg.acmsl.regexpplugin.gnuregexp.MatcherGNUAdapter
- All Implemented Interfaces:
- org.acmsl.regexpplugin.Matcher
- public class MatcherGNUAdapter
- extends java.lang.Object
- implements org.acmsl.regexpplugin.Matcher
- extends java.lang.Object
GNU Regexp 1.1.4 matcher adapter. This class makes possible the use of GNU Regexp 1.1.4 matchers inside this API.
- Version:
- $Revision: 1.5 $
Field Summary | |
private int |
m__iGroups
Group count. |
private gnu.regexp.REMatchEnumeration |
m__REMatchEnumeration
Concrete engine implementation. |
static 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,
org.acmsl.regexpplugin.Pattern pattern)
Checks if given text contains specified pattern. |
static Version |
getClassVersion()
Retrieves the current version of this class. |
protected int |
getGroups()
Retrieves the group count. |
org.acmsl.regexpplugin.MatchResult |
getMatch()
Retrieves the last match found due to a previous call to contains method. |
protected gnu.regexp.REMatchEnumeration |
getREMatchEnumeration()
Retrieves the match enumeration. |
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 |
m__REMatchEnumeration
private gnu.regexp.REMatchEnumeration m__REMatchEnumeration
- Concrete engine implementation.
m__iGroups
private int m__iGroups
- Group count.
VERSION
public static final Version VERSION
- Concrete version object updated everytime it's checked-in in a CVS
repository.
Constructor Detail |
MatcherGNUAdapter
public MatcherGNUAdapter()
- Constructs a MatcherGNUAdapter.
Method Detail |
contains
public boolean contains(java.lang.String text, org.acmsl.regexpplugin.Pattern pattern)
- Checks if given text contains specified pattern.
- Specified by:
contains
in interfaceorg.acmsl.regexpplugin.Matcher
setREMatchEnumeration
protected void setREMatchEnumeration(gnu.regexp.REMatchEnumeration reMatchEnumeration)
- Sets the match enumeration.
getREMatchEnumeration
protected gnu.regexp.REMatchEnumeration getREMatchEnumeration()
- Retrieves the match enumeration.
setGroups
protected void setGroups(int groups)
- Sets the group count.
getGroups
protected int getGroups()
- Retrieves the group count.
getMatch
public org.acmsl.regexpplugin.MatchResult getMatch()
- Retrieves the last match found due to a previous call to
contains method.
- Specified by:
getMatch
in interfaceorg.acmsl.regexpplugin.Matcher
getVersion
public Version getVersion()
- Retrieves the current version of this object.
getClassVersion
public static Version getClassVersion()
- Retrieves the current version of this class.
|
|||||||||
Home >> All >> org >> acmsl >> regexpplugin >> [ gnuregexp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |