javax.mail.search

Class RecipientStringTerm

Implemented Interfaces:
Serializable

public final class RecipientStringTerm
extends AddressStringTerm

Field Summary

Fields inherited from class javax.mail.search.StringTerm

ignoreCase, pattern

Constructor Summary

RecipientStringTerm(Message.RecipientType type, String pattern)

Method Summary

boolean
equals(Object other)
Message.RecipientType
getRecipientType()
int
hashCode()
boolean
match(Message message)

Methods inherited from class javax.mail.search.AddressStringTerm

match

Methods inherited from class javax.mail.search.StringTerm

equals, getIgnoreCase, getPattern, hashCode, match

Methods inherited from class javax.mail.search.SearchTerm

match

Constructor Details

RecipientStringTerm

public RecipientStringTerm(Message.RecipientType type,
                           String pattern)

Method Details

equals

public boolean equals(Object other)
Overrides:
equals in interface StringTerm

getRecipientType

public Message.RecipientType getRecipientType()

hashCode

public int hashCode()
Overrides:
hashCode in interface StringTerm

match

public boolean match(Message message)
Overrides:
match in interface SearchTerm