public static class IMAPMessage.FetchProfileCondition extends Object implements com.sun.mail.imap.Utility.Condition
Constructor and Description |
---|
FetchProfileCondition(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 and Description |
---|---|
boolean |
test(IMAPMessage m)
Return true if we NEED to fetch the requested information
for the specified message.
|
public FetchProfileCondition(FetchProfile fp, com.sun.mail.imap.protocol.FetchItem[] fitems)
fp
- the FetchProfilefitems
- the FETCH itemspublic boolean test(IMAPMessage m)
test
in interface com.sun.mail.imap.Utility.Condition
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.