|
|||||||||||
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
A comparison of the From address.
Field Summary |
Fields inherited from class javax.mail.search.AddressTerm |
address |
Constructor Summary | |
FromTerm(Address address)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object other)
|
boolean |
match(Message msg)
Returns true if the From address in the given message matches the address specified in this term. |
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 for comparisonMethod Detail |
public boolean match(Message msg)
match
in class SearchTerm
public boolean equals(java.lang.Object other)
equals
in class AddressTerm
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |