org.apache.lucene.search.regex

Class JakartaRegexpCapabilities

public class JakartaRegexpCapabilities extends Object implements RegexCapabilities

Implementation tying Jakarta Regexp to RegexQuery. Thanks to some internals of Jakarta Regexp, this has a solid {@link #prefix} implementation.
Method Summary
voidcompile(String pattern)
booleanequals(Object o)
inthashCode()
booleanmatch(String string)
Stringprefix()

Method Detail

compile

public void compile(String pattern)

equals

public boolean equals(Object o)

hashCode

public int hashCode()

match

public boolean match(String string)

prefix

public String prefix()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.