javax.mail.search
Class AddressStringTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.StringTerm
javax.mail.search.AddressStringTerm
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- FromStringTerm, RecipientStringTerm
public abstract class AddressStringTerm
- extends StringTerm
A Term that compares two Addresses as Strings.
- Version:
- $Rev: 421852 $ $Date: 2006-07-14 03:02:19 -0700 (Fri, 14 Jul 2006) $
- See Also:
- Serialized Form
Method Summary |
protected boolean |
match(Address address)
Tests if the patterm associated with this Term is a substring of
the address in the supplied object. |
AddressStringTerm
protected AddressStringTerm(String pattern)
- Constructor.
- Parameters:
pattern
- the pattern to be compared
match
protected boolean match(Address address)
- Tests if the patterm associated with this Term is a substring of
the address in the supplied object.
- Parameters:
address
-
- Returns:
Copyright © 2006 Apache Software Foundation. All Rights Reserved.