public class KeyHashRule
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
KeyHashRule()
For serialization only
|
KeyHashRule(boolean caseInsensitive,
boolean ignoreWS,
boolean ignorePunct,
boolean ignoreTags) |
Modifier and Type | Method and Description |
---|---|
static KeyHashRule |
creatDefault() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey(java.lang.String term) |
boolean |
isCaseInsensitive() |
boolean |
isIgnorePunct() |
boolean |
isIgnoreTags() |
boolean |
isIgnoreWS() |
boolean |
matches(java.lang.String keyA,
java.lang.String keyB) |
void |
setCaseInsensitive(boolean caseInsensitive) |
void |
setIgnorePunct(boolean ignorePunct) |
void |
setIgnoreTags(boolean ignoreTags) |
void |
setIgnoreWS(boolean ignoreWS) |
public KeyHashRule()
public KeyHashRule(boolean caseInsensitive, boolean ignoreWS, boolean ignorePunct, boolean ignoreTags)
public static KeyHashRule creatDefault()
public java.lang.String getKey(java.lang.String term)
public boolean isCaseInsensitive()
public boolean isIgnorePunct()
public boolean isIgnoreWS()
public boolean isIgnoreTags()
public void setCaseInsensitive(boolean caseInsensitive)
public void setIgnorePunct(boolean ignorePunct)
public void setIgnoreWS(boolean ignoreWS)
public void setIgnoreTags(boolean ignoreTags)
public boolean matches(java.lang.String keyA, java.lang.String keyB)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object