|
|||||||||
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
javax.mail.search.AddressStringTerm
public abstract class AddressStringTerm
A string comparison of message addresses.
Field Summary |
---|
Fields inherited from class javax.mail.search.StringTerm |
---|
ignoreCase, pattern |
Constructor Summary | |
---|---|
protected |
AddressStringTerm(java.lang.String pattern)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
protected boolean |
match(Address a)
Indicates whether the address pattern specified in the constructor is a substring of the string representation of the given address. |
Methods inherited from class javax.mail.search.StringTerm |
---|
getIgnoreCase, getPattern, hashCode, match |
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 |
Constructor Detail |
---|
protected AddressStringTerm(java.lang.String pattern)
pattern
- the address pattern for comparisonMethod Detail |
---|
protected boolean match(Address a)
a
- the addresspublic boolean equals(java.lang.Object other)
equals
in class StringTerm
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |