javax.mail
Class FetchProfile.Item

java.lang.Object
  extended by javax.mail.FetchProfile.Item
Direct Known Subclasses:
UIDFolder.FetchProfileItem
Enclosing class:
FetchProfile

public static class FetchProfile.Item
extends Object

Inner class that defines sets of headers that are commonly bundled together in a FetchProfile.


Field Summary
static FetchProfile.Item CONTENT_INFO
          Item for fetching information about the content of the message.
static FetchProfile.Item ENVELOPE
          Item for fetching information about the envelope of the message.
static FetchProfile.Item FLAGS
          Item for fetching information about message flags.
 
Constructor Summary
protected FetchProfile.Item(String name)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_INFO

public static final FetchProfile.Item CONTENT_INFO
Item for fetching information about the content of the message. This includes all the headers about the content including but not limited to: Content-Type, Content-Disposition, Content-Description, Size and Line-Count


ENVELOPE

public static final FetchProfile.Item ENVELOPE
Item for fetching information about the envelope of the message. This includes all the headers comprising the envelope including but not limited to: From, To, Cc, Bcc, Reply-To, Subject and Date For IMAP4, this should also include the ENVELOPE data item.


FLAGS

public static final FetchProfile.Item FLAGS
Item for fetching information about message flags. Generall corresponds to the X-Flags header.

Constructor Detail

FetchProfile.Item

protected FetchProfile.Item(String name)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.