Name

FetchProfile.Item

Synopsis

The static FetchProfile.Item class defines three sets of data that can be requested via a FetchProfile. The CONTENT_INFO item returns information about message content, including ContentType, ContentDisposition, ContentDescription and size. The ENVELOPE item includes Subject, Date, From, To, Cc, Bcc and ReplyTo. The FLAGS item retrieves message flags. Implementations may retrieve additional data for any of these items.

public static class FetchProfile.Item {
// Protected Constructors
   protected Item( String name);  
// Public Constants
   public static final FetchProfile.Item CONTENT_INFO;  
   public static final FetchProfile.Item ENVELOPE;  
   public static final FetchProfile.Item FLAGS;  
}

Subclasses

UIDFolder.FetchProfileItem

Passed To

FetchProfile.{add(), contains()}

Returned By

FetchProfile.getItems()

Type Of

FetchProfile.Item.{CONTENT_INFO, ENVELOPE, FLAGS}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.