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

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.KeywordKey

public final class KeywordKey
extends StringKey

This class implements search-criteria for Message Keyword (User Flag).

Since:
Jan 30, 2010
Author:
Won Chul Doh

Field Summary
protected  boolean set
          Indicates whether to test for the presence or absence of the specified keyword.
 
Fields inherited from class com.hs.mail.imap.message.search.StringKey
ignoreCase, pattern
 
Constructor Summary
KeywordKey(String keyword, boolean set)
           
 
Method Summary
 boolean equals(Object obj)
           
 boolean getTestSet()
           
 boolean isComposite()
           
 
Methods inherited from class com.hs.mail.imap.message.search.StringKey
getIgnoreCase, getPattern, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

set

protected boolean set
Indicates whether to test for the presence or absence of the specified keyword. If true, then test whether the specified keyword is present, else test whether the specified keyword is absent.

Constructor Detail

KeywordKey

public KeywordKey(String keyword,
                  boolean set)
Method Detail

getTestSet

public boolean getTestSet()

equals

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

isComposite

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


Copyright © 2011. All Rights Reserved.