javax.mail.search
Class RecipientTerm
- Serializable
public final class RecipientTerm
A comparison of recipient headers in a message.
RecipientTerm
public RecipientTerm(Message.RecipientType type,
Address address)
Constructor.
type
- the recipient typeaddress
- the address to match
match
public boolean match(Message msg)
Returns true only if the recipient address in the given message matches
the address specified in this term.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved