java.io.Serializable
public 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.
|
match
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIgnoreCase, getPattern, hashCode, match
public FromStringTerm(java.lang.String pattern)
address
- the address pattern for comparisonpublic boolean match(Message msg)
match
in class SearchTerm
msg
- the messagepublic boolean equals(java.lang.Object other)
equals
in class AddressStringTerm
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved