java.io.Serializablepublic final class RecipientStringTerm extends AddressStringTerm
ignoreCase, pattern| Constructor | Description |
|---|---|
RecipientStringTerm(Message.RecipientType type,
java.lang.String pattern) |
Constructor.
|
| Modifier and Type | Method | 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.
|
matchclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIgnoreCase, getPattern, matchpublic 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 SearchTermpublic boolean equals(java.lang.Object other)
equals in class AddressStringTermpublic int hashCode()
hashCode in class StringTerm© Copyright 2003, 2004 The Free Software Foundation, All rights reserved