| java.lang.Object | ||||
| ↳ | com.google.code.javax.mail.search.SearchTerm | |||
| ↳ | com.google.code.javax.mail.search.StringTerm | |||
| ↳ | com.google.code.javax.mail.search.AddressStringTerm | |||
| ↳ | com.google.code.javax.mail.search.RecipientStringTerm | |||
This class implements string comparisons for the Recipient Address headers.
Note that this class differs from the RecipientTerm class
in that this class does comparisons on address strings rather than Address
objects. The string comparisons are case-insensitive.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long | serialVersionUID | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.search.AddressStringTerm
| |||||||||||
From class
com.google.code.javax.mail.search.StringTerm
| |||||||||||
From class
com.google.code.javax.mail.search.SearchTerm
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| type | The recipient type. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.search.StringTerm
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Equality comparison.
| |||||||||||
Return the type of recipient to match with.
| |||||||||||
Compute a hashCode for this object.
| |||||||||||
Check whether the address specified in the constructor is
a substring of the recipient address of this Message.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.search.AddressStringTerm
| |||||||||||
From class
com.google.code.javax.mail.search.StringTerm
| |||||||||||
From class
com.google.code.javax.mail.search.SearchTerm
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructor.
| type | The recipient type |
|---|---|
| pattern | The address pattern to be compared. |
Equality comparison.
| obj |
|---|
Compute a hashCode for this object.
Check whether the address specified in the constructor is a substring of the recipient address of this Message.
| msg | The comparison is applied to this Message's recipient address. |
|---|