Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » regex » [javadoc | source]
org.apache.lucene.search.regex
public class: JakartaRegexpCapabilities [javadoc | source]
java.lang.Object
   org.apache.lucene.search.regex.JakartaRegexpCapabilities

All Implemented Interfaces:
    RegexCapabilities

Implementation tying Jakarta Regexp to RegexQuery. Thanks to some internals of Jakarta Regexp, this has a solid #prefix implementation.
Field Summary
public static final  int FLAG_MATCH_NORMAL    Flag to specify normal, case-sensitive matching behaviour. This is the default. 
public static final  int FLAG_MATCH_CASEINDEPENDENT    Flag to specify that matching should be case-independent (folded) 
Constructor:
 public JakartaRegexpCapabilities() 
 public JakartaRegexpCapabilities(int flags) 
Method from org.apache.lucene.search.regex.JakartaRegexpCapabilities Summary:
compile,   equals,   hashCode,   match,   prefix
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.regex.JakartaRegexpCapabilities Detail:
 public  void compile(String pattern) 
 public boolean equals(Object o) 
 public int hashCode() 
 public boolean match(String string) 
 public String prefix()