站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

UIDFolder.FetchProfileItem (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.mail
Class UIDFolder.FetchProfileItem

java.lang.Object
  extended by javax.mail.FetchProfile.Item
      extended by javax.mail.UIDFolder.FetchProfileItem
Enclosing interface:
UIDFolder

public static class UIDFolder.FetchProfileItem
extends FetchProfile.Item

A fetch profile item for fetching UIDs. This inner class extends the FetchProfile.Item class to add new FetchProfile item types, specific to UIDFolders. The only item currently defined here is the UID item.

See Also:
FetchProfile

Field Summary
static UIDFolder.FetchProfileItem UID
          UID is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder.
 
Fields inherited from class javax.mail.FetchProfile.Item
CONTENT_INFO, ENVELOPE, FLAGS
 
Constructor Summary
protected UIDFolder.FetchProfileItem(String name)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UID

public static final UIDFolder.FetchProfileItem UID
UID is a fetch profile item that can be included in a FetchProfile during 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);

 

Constructor Detail

UIDFolder.FetchProfileItem

protected UIDFolder.FetchProfileItem(String name)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.