Class KeyHashRule
- java.lang.Object
-
- com.inductiveautomation.ignition.common.i18n.translation.KeyHashRule
-
- All Implemented Interfaces:
java.io.Serializable
public class KeyHashRule extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyHashRule()For serialization onlyKeyHashRule(boolean caseInsensitive, boolean ignoreWS, boolean ignorePunct, boolean ignoreTags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyHashRulecreatDefault()booleanequals(java.lang.Object obj)java.lang.StringgetKey(java.lang.String term)booleanisCaseInsensitive()booleanisIgnorePunct()booleanisIgnoreTags()booleanisIgnoreWS()booleanmatches(java.lang.String keyA, java.lang.String keyB)voidsetCaseInsensitive(boolean caseInsensitive)voidsetIgnorePunct(boolean ignorePunct)voidsetIgnoreTags(boolean ignoreTags)voidsetIgnoreWS(boolean ignoreWS)
-
-
-
Method Detail
-
creatDefault
public static KeyHashRule creatDefault()
-
getKey
public java.lang.String getKey(java.lang.String term)
-
isCaseInsensitive
public boolean isCaseInsensitive()
-
isIgnorePunct
public boolean isIgnorePunct()
-
isIgnoreWS
public boolean isIgnoreWS()
-
isIgnoreTags
public boolean isIgnoreTags()
-
setCaseInsensitive
public void setCaseInsensitive(boolean caseInsensitive)
-
setIgnorePunct
public void setIgnorePunct(boolean ignorePunct)
-
setIgnoreWS
public void setIgnoreWS(boolean ignoreWS)
-
setIgnoreTags
public void setIgnoreTags(boolean ignoreTags)
-
matches
public boolean matches(java.lang.String keyA, java.lang.String keyB)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-