|
||||||||||
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.AddressTerm
javax.mail.search.FromTerm
public final class FromTerm
This class implements comparisons for the From Address header.
Field Summary |
---|
Fields inherited from class javax.mail.search.AddressTerm |
---|
address |
Constructor Summary | |
---|---|
FromTerm(Address address)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Equality comparison. |
boolean |
match(Message msg)
The address comparator. |
Methods inherited from class javax.mail.search.AddressTerm |
---|
getAddress, hashCode, match |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FromTerm(Address address)
address
- The Address to be comparedMethod Detail |
---|
public boolean match(Message msg)
match
in class SearchTerm
msg
- The address comparison is applied to this Message
public boolean equals(java.lang.Object obj)
equals
in class AddressTerm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |