|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.mail.search.SearchTerm | +--javax.mail.search.AddressTerm | +--javax.mail.search.RecipientTerm
This class implements comparisons for the Recipient Address headers.
Field Summary | |
protected Message.RecipientType |
type
The recipient type. |
Fields inherited from class javax.mail.search.AddressTerm |
address |
Constructor Summary | |
RecipientTerm(Message.RecipientType type,
Address address)
Constructor. |
Method Summary | |
Message.RecipientType |
getRecipientType()
Return the type of recipient to match with. |
boolean |
match(Message msg)
The match method. |
Methods inherited from class javax.mail.search.AddressTerm |
getAddress,
match |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected Message.RecipientType type
Constructor Detail |
public RecipientTerm(Message.RecipientType type, Address address)
type
- the recipient typeaddress
- the address to match forMethod Detail |
public Message.RecipientType getRecipientType()
public boolean match(Message msg)
msg
- The address match is applied to this Message's recepient
address
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |