站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

AddressTerm (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.mail.search
Class AddressTerm

java.lang.Object
  extended byjavax.mail.search.SearchTerm
      extended byjavax.mail.search.AddressTerm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FromTerm, RecipientTerm

public abstract class AddressTerm
extends SearchTerm

This class implements Message Address comparisons.

Author:
Bill Shannon, John Mani
See Also:
Serialized Form

Field Summary
protected  Address address
          The address.
 
Constructor Summary
protected AddressTerm(Address address)
           
 
Method Summary
 boolean equals(Object obj)
          Equality comparison.
 Address getAddress()
          Return the address to match with.
 int hashCode()
          Compute a hashCode for this object.
protected  boolean match(Address a)
          Match against the argument Address.
 
Methods inherited from class javax.mail.search.SearchTerm
match
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected Address address
The address.

Constructor Detail

AddressTerm

protected AddressTerm(Address address)
Method Detail

getAddress

public Address getAddress()
Return the address to match with.


match

protected boolean match(Address a)
Match against the argument Address.


equals

public boolean equals(Object obj)
Equality comparison.


hashCode

public int hashCode()
Compute a hashCode for this object.


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.