java.lang.Object
jakarta.mail.search.SearchTerm
jakarta.mail.search.AddressTerm
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FromTerm
,RecipientTerm
This class implements Message Address comparisons.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.mail.search.SearchTerm
match
-
Field Details
-
address
The address.
-
-
Constructor Details
-
AddressTerm
Constructor.- Parameters:
address
- the address to match with.
-
-
Method Details
-
getAddress
-
match
Match against the argument Address.- Parameters:
a
- the address to match- Returns:
- true if it matches
-
equals
-
hashCode
-