javax.mail.search

Class AddressStringTerm

public abstract class AddressStringTerm extends StringTerm

A Term that compares two Addresses as Strings.
Constructor Summary
protected AddressStringTerm(String pattern)
Constructor.
Method Summary
protected booleanmatch(Address address)
Tests if the patterm associated with this Term is a substring of the address in the supplied object.

Constructor Detail

AddressStringTerm

protected AddressStringTerm(String pattern)
Constructor.

Parameters: pattern the pattern to be compared

Method Detail

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: