org.josql.functions.regexp
Class OroApacheRegExpWrapper

java.lang.Object
  extended by org.josql.functions.regexp.AbstractRegExpWrapper
      extended by org.josql.functions.regexp.OroApacheRegExpWrapper
All Implemented Interfaces:
RegExp

public class OroApacheRegExpWrapper
extends AbstractRegExpWrapper
implements RegExp

The wrapper implementation for the Apache ORO implementation of regular expression matching. See: http://jakarta.apache.org/oro/ for details.


Field Summary
static String SUPPORTED_VERSION
           
 
Constructor Summary
OroApacheRegExpWrapper()
           
 
Method Summary
 String getSupportedVersion()
           
 void init()
           
 boolean isAvailable()
           
 boolean match(String pattern, String val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUPPORTED_VERSION

public static final String SUPPORTED_VERSION
See Also:
Constant Field Values
Constructor Detail

OroApacheRegExpWrapper

public OroApacheRegExpWrapper()
Method Detail

getSupportedVersion

public String getSupportedVersion()
Specified by:
getSupportedVersion in class AbstractRegExpWrapper

isAvailable

public boolean isAvailable()
Specified by:
isAvailable in class AbstractRegExpWrapper

match

public boolean match(String pattern,
                     String val)
              throws QueryExecutionException
Specified by:
match in interface RegExp
Throws:
QueryExecutionException

init

public void init()
          throws QueryExecutionException
Specified by:
init in interface RegExp
Throws:
QueryExecutionException


  Copyright © 2008 Gary Bentley. All Rights Reserved.