javax.mail.search
public abstract class StringTerm extends SearchTerm
Modifier and Type | Field and Description |
---|---|
protected boolean |
ignoreCase
Whether to ignore case during comparison.
|
protected String |
pattern
The pattern to match.
|
Modifier | Constructor and Description |
---|---|
protected |
StringTerm(String pattern) |
protected |
StringTerm(String pattern,
boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
boolean |
getIgnoreCase()
Indicates whether to ignore case during comparison.
|
String |
getPattern()
Returns the pattern to match.
|
int |
hashCode() |
protected boolean |
match(String s)
Returns true if the specified pattern is a substring of the given string.
|
match
protected String pattern
protected boolean ignoreCase
protected StringTerm(String pattern)
protected StringTerm(String pattern, boolean ignoreCase)
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved