javax.mail.search
Class RecipientStringTerm

java.lang.Object
  extended byjavax.mail.search.SearchTerm
      extended byjavax.mail.search.StringTerm
          extended byjavax.mail.search.AddressStringTerm
              extended byjavax.mail.search.RecipientStringTerm
All Implemented Interfaces:
Serializable

public final class RecipientStringTerm
extends AddressStringTerm

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

Field Summary
 
Fields inherited from class javax.mail.search.StringTerm
ignoreCase, pattern
 
Constructor Summary
RecipientStringTerm(Message.RecipientType type, String pattern)
           
 
Method Summary
 boolean equals(Object other)
           
 Message.RecipientType getRecipientType()
           
 int hashCode()
           
 boolean match(Message message)
           
 
Methods inherited from class javax.mail.search.AddressStringTerm
match
 
Methods inherited from class javax.mail.search.StringTerm
getIgnoreCase, getPattern, match
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientStringTerm

public RecipientStringTerm(Message.RecipientType type,
                           String pattern)
Method Detail

equals

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

getRecipientType

public Message.RecipientType getRecipientType()

hashCode

public int hashCode()
Overrides:
hashCode in class StringTerm

match

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


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