org.josql.functions.regexp
Class GNURegExpWrapper

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

public class GNURegExpWrapper
extends AbstractRegExpWrapper
implements RegExp

The wrapper implementation for the GNU implementation of regular expression matching. See: http://www.cacas.org/java/gnu/regexp/ for details.


Field Summary
static String SUPPORTED_VERSION
           
 
Constructor Summary
GNURegExpWrapper()
           
 
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

GNURegExpWrapper

public GNURegExpWrapper()
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.