javax.mail.search
Class FromTerm
- Serializable
public final class FromTerm
A comparison of the From address.
boolean | equals(Object other)
|
boolean | match(Message msg) - Returns true if the From address in the given message matches the
address specified in this term.
|
FromTerm
public FromTerm(Address address)
Constructor.
address
- the address for comparison
match
public boolean match(Message msg)
Returns true if the From address in the given message matches the
address specified in this term.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved