javax.mail.search
public final class FromTerm extends AddressTerm
Version: 1.3
Constructor Summary | |
---|---|
FromTerm(Address address)
Constructor. |
Method Summary | |
---|---|
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. |
Parameters: address the address for comparison