javax.mail.search
public abstract class StringTerm extends SearchTerm
Version: 1.3
Field Summary | |
---|---|
protected boolean | ignoreCase
Whether to ignore case during comparison. |
protected String | pattern
The pattern to match. |
Constructor Summary | |
---|---|
protected | StringTerm(String pattern) |
protected | StringTerm(String pattern, boolean ignoreCase) |
Method Summary | |
---|---|
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. |