| com.mycompany.toolbox.api.MatchRegExpImpl
MatchRegExpImpl | final public class MatchRegExpImpl extends MatchRegExp (Code) | | Implementation of the MatchRegExp function.
This example is using the new JavaSE 6 javax.script API, meaning that in order
to compile and run this API you need at least JavaSE 6:
http://java.sun.com/javase/downloads/index.jsp
Description: Returns whether a text matches a regular expression.
version: $Revision: 1.5 $ $Date: 2007/03/16 10:06:08 $ author: TODO |
Constructor Summary | |
public | MatchRegExpImpl(APIImpl api) Constructs a new MatchRegExpImpl instance. |
MatchRegExpImpl | public MatchRegExpImpl(APIImpl api)(Code) | | Constructs a new MatchRegExpImpl instance.
Parameters: api - the API to which this function belongs, guaranteed to be notnull . |
call | public Result call(Request request) throws Throwable(Code) | | Calls this function. If the function fails, it may throw any kind of
exception. All exceptions will be handled by the caller.
Parameters: request - the request, never null .the result of the function call, should never be null . throws: Throwable - if anything went wrong. |
|
|