public static class UIDFolder.FetchProfileItem extends FetchProfile.Item
FetchProfile.Itemclass to add new FetchProfile item types, specific to UIDFolders. The only item currently defined here is the
|Modifier and Type||Field and Description|
UID is a fetch profile item that can be included in a
|Modifier||Constructor and Description|
public static final UIDFolder.FetchProfileItem UID
FetchProfileduring a fetch request to a Folder. This item indicates that the UIDs for messages in the specified range are desired to be prefetched.
An example of how a client uses this is below:
FetchProfile fp = new FetchProfile(); fp.add(UIDFolder.FetchProfileItem.UID); folder.fetch(msgs, fp);
protected FetchProfileItem(String name)
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.