javax.mail.search
public final class FromStringTerm extends AddressStringTerm
Version: 1.4
Constructor Summary | |
---|---|
FromStringTerm(String pattern)
Constructor. |
Method Summary | |
---|---|
boolean | equals(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. |
Parameters: address the address pattern for comparison
Parameters: msg the message