public static class IMAPMessage.FetchProfileCondition extends java.lang.Object implements Utility.Condition
Modifier and Type | Field and Description |
---|---|
private java.lang.String[] |
hdrs |
private java.util.Set<FetchItem> |
need |
private boolean |
needBodyStructure |
private boolean |
needEnvelope |
private boolean |
needFlags |
private boolean |
needHeaders |
private boolean |
needMessage |
private boolean |
needRDate |
private boolean |
needSize |
private boolean |
needUID |
Constructor and Description |
---|
FetchProfileCondition(FetchProfile fp,
FetchItem[] fitems)
Create a FetchProfileCondition to determine if we need to fetch
any of the information specified in the FetchProfile.
|
Modifier and Type | Method and Description |
---|---|
boolean |
test(IMAPMessage m)
Return true if we NEED to fetch the requested information
for the specified message.
|
private boolean needEnvelope
private boolean needFlags
private boolean needBodyStructure
private boolean needUID
private boolean needHeaders
private boolean needSize
private boolean needMessage
private boolean needRDate
private java.lang.String[] hdrs
private java.util.Set<FetchItem> need
public FetchProfileCondition(FetchProfile fp, FetchItem[] fitems)
fp
- the FetchProfilefitems
- the FETCH itemspublic boolean test(IMAPMessage m)
test
in interface Utility.Condition