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: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 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 © 2003-2009 The Apache Software Foundation. All Rights Reserved.