javax.mail.search
Class FromStringTerm
- Serializable
public final class FromStringTerm
A string comparison of the From address header.
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.
|
FromStringTerm
public FromStringTerm(String pattern)
Constructor.
match
public 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 in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved