| |
|
| java.lang.Object org.mockejb.interceptor.RegexpWrapper
RegexpWrapper | class RegexpWrapper (Code) | | Helper class used to isolate pointcuts that use regexp from the
concrete regexp API. Currently we use Jakarta ORO but may
switch to the java regexp package in the future
author: Alexander Ananiev |
Method Summary | |
public boolean | containedInString(String stringToMatch) Tests if this regexp pattern is contained by the given string. | public boolean | equals(Object obj) Returns true if the given object is of the same type and
it has the same pattern. | public int | hashCode() |
RegexpWrapper | public RegexpWrapper(String patternString)(Code) | | |
containedInString | public boolean containedInString(String stringToMatch)(Code) | | Tests if this regexp pattern is contained by the given string.
Parameters: stringToMatch - string where to search for the occurences of this regexp true if the string contains the patternprovided method should be intercepted |
equals | public boolean equals(Object obj)(Code) | | Returns true if the given object is of the same type and
it has the same pattern.
|
hashCode | public int hashCode()(Code) | | |
|
|
|