java.io.Serializablepublic final class FromStringTerm extends AddressStringTerm
ignoreCase, pattern| Constructor | Description |
|---|---|
FromStringTerm(java.lang.String pattern) |
Constructor.
|
| Modifier and Type | Method | 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.
|
matchclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIgnoreCase, 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