public final class FromStringTerm extends AddressStringTerm
ignoreCase, pattern| Constructor and Description |
|---|
FromStringTerm(java.lang.String pattern)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
boolean |
match(Message msg)
Indicates whether the address pattern specified in the constructor is a
substring of the string representation of the From address in the given
message.
|
matchgetIgnoreCase, getPattern, hashCode, matchpublic FromStringTerm(java.lang.String pattern)
address - the address pattern for comparisonpublic boolean match(Message msg)
match in class SearchTermmsg - the messagepublic boolean equals(java.lang.Object other)
equals in class AddressStringTerm© Copyright 2003, 2004 The Free Software Foundation, All rights reserved