Uses of Class javax.mail.FetchProfile.Item (JavaMail API documentation)
Date: 2019-08-31

## Uses of Class
javax.mail.FetchProfile.Item

- Packages that use FetchProfile.Item
  Package | Description
  --- | ---
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
  javax.mail | The JavaMailTM API provides classes that model a mail system.

- - ### Uses of FetchProfile.Item in com.sun.mail.imap

    Subclasses of FetchProfile.Item in com.sun.mail.imap
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `IMAPFolder.FetchProfileItem` A fetch profile item for fetching headers.

  - ### Uses of FetchProfile.Item in javax.mail

    Subclasses of FetchProfile.Item in javax.mail
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `UIDFolder.FetchProfileItem` A fetch profile item for fetching UIDs.

    Fields in javax.mail declared as FetchProfile.Item
    Modifier and Type | Field and Description
    --- | ---
    `static FetchProfile.Item` | FetchProfile.Item.`CONTENT_INFO` This item is for fetching information about the content of the message.
    `static FetchProfile.Item` | FetchProfile.Item.`ENVELOPE` This is the Envelope item.
    `static FetchProfile.Item` | FetchProfile.Item.`FLAGS` This is the Flags item.
    `static FetchProfile.Item` | FetchProfile.Item.`SIZE` SIZE is a fetch profile item that can be included in a `FetchProfile` during a fetch request to a Folder.

    Methods in javax.mail that return FetchProfile.Item
    Modifier and Type | Method and Description
    --- | ---
    `FetchProfile.Item[]` | FetchProfile.`getItems()` Get the items set in this profile.

    Methods in javax.mail with parameters of type FetchProfile.Item
    Modifier and Type | Method and Description
    --- | ---
    `void` | FetchProfile.`add(FetchProfile.Item item)` Add the given special item as one of the attributes to be prefetched.
    `boolean` | FetchProfile.`contains(FetchProfile.Item item)` Returns true if the fetch profile contains given special item.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.