javax.mail.search
Class RecipientTerm

java.lang.Object
  extended byjavax.mail.search.SearchTerm
      extended byjavax.mail.search.AddressTerm
          extended byjavax.mail.search.RecipientTerm
All Implemented Interfaces:
Serializable

public final class RecipientTerm
extends AddressTerm

Version:
$Revision: 1.3 $ $Date: 2004/03/10 10:00:28 $
See Also:
Serialized Form

Field Summary
protected  Message.RecipientType type
           
 
Fields inherited from class javax.mail.search.AddressTerm
address
 
Constructor Summary
RecipientTerm(Message.RecipientType type, Address address)
           
 
Method Summary
 boolean equals(Object other)
           
 Message.RecipientType getRecipientType()
           
 int hashCode()
           
 boolean match(Message message)
           
 
Methods inherited from class javax.mail.search.AddressTerm
getAddress, match
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected Message.RecipientType type
Constructor Detail

RecipientTerm

public RecipientTerm(Message.RecipientType type,
                     Address address)
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class AddressTerm

getRecipientType

public Message.RecipientType getRecipientType()

hashCode

public int hashCode()
Overrides:
hashCode in class AddressTerm

match

public boolean match(Message message)
Specified by:
match in class SearchTerm


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.