|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.search.SearchTerm javax.mail.search.AddressTerm javax.mail.search.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(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(Object obj)
equals
in class AddressTerm
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.