javax.mail.search
public final class FlagTerm extends SearchTerm
Version: 1.4
Field Summary | |
---|---|
protected Flags | flags
The flags to test. |
protected boolean | set
Indicates whether to test for the presence or absence of the specified
flag. |
Constructor Summary | |
---|---|
FlagTerm(Flags flags, boolean set)
Constructor. |
Method Summary | |
---|---|
boolean | equals(Object other) |
Flags | getFlags()
Returns the flags to test. |
boolean | getTestSet()
Indicates whether to test for the presence or the absence of the
specified flags. |
int | hashCode() |
boolean | match(Message msg)
Returns true if the flags in the specified message match this term. |
Parameters: flags the flags to test set whether to test for presence or absence of the specified flags