javax.mail.search
Class AddressStringTerm
- Serializable
public abstract class AddressStringTerm
A string comparison of message addresses.
Version:
- Chris Burdess
boolean | equals(Object other)
|
protected boolean | match(Address a) - Indicates whether the address pattern specified in the constructor is a
substring of the string representation of the given address.
|
AddressStringTerm
protected AddressStringTerm(String pattern)
Constructor.
pattern
- the address pattern for comparison
equals
public boolean equals(Object other)
- equals in interface StringTerm
match
protected boolean match(Address a)
Indicates whether the address pattern specified in the constructor is a
substring of the string representation of the given address.
a
- the address
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved