com.sun.mail.imap
类 IMAPFolder.FetchProfileItem

java.lang.Object
  继承者 javax.mail.FetchProfile.Item
      继承者 com.sun.mail.imap.IMAPFolder.FetchProfileItem
包容类:
IMAPFolder

public static class IMAPFolder.FetchProfileItem
extends FetchProfile.Item

A fetch profile item for fetching headers. This inner class extends the FetchProfile.Item class to add new FetchProfile item types, specific to IMAPFolders.

另请参见:
FetchProfile

字段摘要
static IMAPFolder.FetchProfileItem HEADERS
          HEADERS is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder.
static IMAPFolder.FetchProfileItem SIZE
          SIZE is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder.
 
从类 javax.mail.FetchProfile.Item 继承的字段
CONTENT_INFO, ENVELOPE, FLAGS
 
构造方法摘要
protected IMAPFolder.FetchProfileItem(String name)
           
 
方法摘要
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

HEADERS

public static final IMAPFolder.FetchProfileItem HEADERS
HEADERS is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder. This item indicates that the headers 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(IMAPFolder.FetchProfileItem.HEADERS);
        folder.fetch(msgs, fp);

 


SIZE

public static final IMAPFolder.FetchProfileItem SIZE
SIZE is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder. This item indicates that the sizes of the messages in the specified range are desired to be prefetched.

SIZE should move to FetchProfile.Item in JavaMail 1.3.

构造方法详细信息

IMAPFolder.FetchProfileItem

protected IMAPFolder.FetchProfileItem(String name)


Copyright © 2013. All Rights Reserved.