public class SearchTerm
extends java.lang.Object
| Constructor and Description |
|---|
SearchTerm(java.lang.String term,
java.util.ArrayList<java.lang.String> terms,
boolean caseSensitive,
boolean wholeWord)
Creates a new search term.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getTerm()
Get origional search term.
|
java.util.ArrayList<java.lang.String> |
getTerms()
Gets individual strings that make up the search term,
|
boolean |
isCaseSensitive()
Specifies if the search term should be treated as case sensitive.
|
boolean |
isWholeWord()
Specifies if the search term should be treated as whole word hits only.
|
public SearchTerm(java.lang.String term,
java.util.ArrayList<java.lang.String> terms,
boolean caseSensitive,
boolean wholeWord)
term - full string represented by terms.terms - terms that make ups serachcaseSensitive - true to specify a case sensitive searchwholeWord - true to specify a whole word only search.public java.util.ArrayList<java.lang.String> getTerms()
public java.lang.String getTerm()
public boolean isCaseSensitive()
public boolean isWholeWord()
public boolean equals(java.lang.Object object)
equals in class java.lang.Object