Utility.Condition
public static class IMAPMessage.FetchProfileCondition extends java.lang.Object implements Utility.Condition
Constructor | Description |
---|---|
FetchProfileCondition(javax.mail.FetchProfile fp,
com.sun.mail.imap.protocol.FetchItem[] fitems) |
Create a FetchProfileCondition to determine if we need to fetch
any of the information specified in the FetchProfile.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
test(IMAPMessage m) |
Return true if we NEED to fetch the requested information
for the specified message.
|
public FetchProfileCondition(javax.mail.FetchProfile fp, com.sun.mail.imap.protocol.FetchItem[] fitems)
fp
- the FetchProfilefitems
- the FETCH itemspublic boolean test(IMAPMessage m)
test
in interface Utility.Condition