public final class RecipientStringTerm extends AddressStringTerm
ignoreCase, pattern | Constructor and Description |
|---|
RecipientStringTerm (Message.RecipientType type,
java.lang.String pattern)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals (java.lang.Object other) |
Message.RecipientType |
getRecipientType ()
Return the recipient type.
|
int |
hashCode () |
boolean |
match (Message msg)
Returns true only if the address specified in this term is a substring
of the recipient address in the given message.
|
match getIgnoreCase, getPattern, match clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic RecipientStringTerm(Message.RecipientType type, java.lang.String pattern)
type - the recipient typeaddress - the address pattern for comparisonpublic Message.RecipientType getRecipientType()
public boolean match(Message msg)
match in class SearchTerm public boolean equals(java.lang.Object other)
equals in class AddressStringTerm public int hashCode()
hashCode in class StringTerm