javax.mail.search
public abstract class AddressStringTerm extends StringTerm
Version: 1.3
| Constructor Summary | |
|---|---|
| protected | AddressStringTerm(String pattern)
Constructor. |
| Method Summary | |
|---|---|
| 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. |
Parameters: pattern the address pattern for comparison
Parameters: a the address