javax.mail.search
Class FromTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.AddressTerm
javax.mail.search.FromTerm
- All Implemented Interfaces:
- Serializable
public final class FromTerm
- extends AddressTerm
- Version:
- $Rev: 126550 $ $Date: 2005-01-26 14:27:45 -0800 (Wed, 26 Jan 2005) $
- See Also:
- Serialized Form
Method Summary |
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term. |
FromTerm
public FromTerm(Address match)
match
public boolean match(Message message)
- Description copied from class:
SearchTerm
- Checks a matching criteria defined by the concrete subclass of this Term.
- Specified by:
match
in class SearchTerm
- Parameters:
message
- the message to apply the matching criteria to
- Returns:
- true if the matching criteria is met
Copyright © 2006 Apache Software Foundation. All Rights Reserved.