com.hs.mail.imap.message.search
Class RecipientStringKey

java.lang.Object
  extended by com.hs.mail.imap.message.search.SearchKey
      extended by com.hs.mail.imap.message.search.StringKey
          extended by com.hs.mail.imap.message.search.AddressStringKey
              extended by com.hs.mail.imap.message.search.RecipientStringKey

public final class RecipientStringKey
extends AddressStringKey

This class implements search-criteria for the Recipient Address header.

Since:
Jan 30, 2010
Author:
Won Chul Doh

Field Summary
 
Fields inherited from class com.hs.mail.imap.message.search.StringKey
ignoreCase, pattern
 
Constructor Summary
RecipientStringKey(javax.mail.Message.RecipientType type, String pattern)
           
 
Method Summary
 boolean equals(Object obj)
           
 javax.mail.Message.RecipientType getRecipientType()
           
 int hashCode()
           
 boolean isComposite()
           
 
Methods inherited from class com.hs.mail.imap.message.search.StringKey
getIgnoreCase, getPattern
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientStringKey

public RecipientStringKey(javax.mail.Message.RecipientType type,
                          String pattern)
Method Detail

getRecipientType

public javax.mail.Message.RecipientType getRecipientType()

equals

public boolean equals(Object obj)
Overrides:
equals in class AddressStringKey

hashCode

public int hashCode()
Overrides:
hashCode in class StringKey

isComposite

public boolean isComposite()
Specified by:
isComposite in class SearchKey


Copyright © 2011. All Rights Reserved.