java.io.Serializable
public 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.
|
match
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIgnoreCase, getPattern, match
public 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
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved