| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjavax.mail.search.SearchTermjavax.mail.search.AddressTermjavax.mail.search.RecipientTermpublic final class RecipientTermextends AddressTermField Summary | |
protected Message.RecipientType |
|
Fields inherited from class javax.mail.search.AddressTerm | |
address | |
Constructor Summary | |
| |
Method Summary | |
boolean |
|
Message.RecipientType |
|
int |
|
boolean | |
Methods inherited from class javax.mail.search.AddressTerm | |
equals, getAddress, hashCode, match | |
Methods inherited from class javax.mail.search.SearchTerm | |
match | |
public RecipientTerm(Message.RecipientType type, Address address)
Constructor.
- Parameters:
type- the recipient typeaddress- the address to match
public boolean match(Message msg)
Returns true only if the recipient address in the given message matches the address specified in this term.
- Overrides:
- match in interface SearchTerm