com.hs.mail.imap.message.search
Class FlagKey
java.lang.Object
com.hs.mail.imap.message.search.SearchKey
com.hs.mail.imap.message.search.FlagKey
public final class FlagKey
- extends SearchKey
This class implements search-criteria for Message Flag.
- Since:
- Jan 30, 2010
- Author:
- Won Chul Doh
|
Field Summary |
protected javax.mail.Flags.Flag |
flag
Flag object containing the flag to test. |
protected boolean |
set
Indicates whether to test for the presence or absence of the specified
Flag. |
|
Constructor Summary |
FlagKey(javax.mail.Flags.Flag flag,
boolean set)
|
set
protected boolean set
- Indicates whether to test for the presence or absence of the specified
Flag. If
true, then test whether the specified flag is
present, else test whether the specified flag is absent.
flag
protected javax.mail.Flags.Flag flag
- Flag object containing the flag to test.
FlagKey
public FlagKey(javax.mail.Flags.Flag flag,
boolean set)
getFlag
public javax.mail.Flags.Flag getFlag()
isSet
public boolean isSet()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isComposite
public boolean isComposite()
- Specified by:
isComposite in class SearchKey
Copyright © 2011. All Rights Reserved.