|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.StringTerm
public abstract class StringTerm
A comparison of string values.
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. |
Methods inherited from class javax.mail.search.SearchTerm |
---|
match |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String pattern
protected boolean ignoreCase
Constructor Detail |
---|
protected StringTerm(String pattern)
protected StringTerm(String pattern, boolean ignoreCase)
Method Detail |
---|
public String getPattern()
public boolean getIgnoreCase()
protected boolean match(String s)
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |