public abstract class StringTerm extends SearchTerm
Modifier and Type | Field and Description |
---|---|
protected boolean |
ignoreCase
Ignore case when comparing?
|
protected String |
pattern
The pattern.
|
Modifier | Constructor and Description |
---|---|
protected |
StringTerm(String pattern) |
protected |
StringTerm(String pattern,
boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equality comparison.
|
boolean |
getIgnoreCase()
Return true if we should ignore case when matching.
|
String |
getPattern()
Return the string to match with.
|
int |
hashCode()
Compute a hashCode for this object.
|
protected boolean |
match(String s) |
match
protected String pattern
protected boolean ignoreCase
protected StringTerm(String pattern)
protected StringTerm(String pattern, boolean ignoreCase)
Copyright © 2018 JBoss by Red Hat. All rights reserved.