## Uses of Class
com.sun.mail.imap.IMAPMessage

- Packages that use IMAPMessage
  Package | Description
  --- | ---
  com.sun.mail.gimap | An EXPERIMENTAL IMAP protocol provider that supports the Gmail-specific IMAP protocol extensions .
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.

- - ### Uses of IMAPMessage in com.sun.mail.gimap

    Subclasses of IMAPMessage in com.sun.mail.gimap
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GmailMessage` A Gmail message.

    Methods in com.sun.mail.gimap that return IMAPMessage
    Modifier and Type | Method and Description
    --- | ---
    `protected IMAPMessage` | GmailFolder.`newIMAPMessage(int msgnum)` Create a new IMAPMessage object to represent the given message number.

  - ### Uses of IMAPMessage in com.sun.mail.imap

    Subclasses of IMAPMessage in com.sun.mail.imap
    Modifier and Type | Class and Description
    --- | ---
    `class` | `IMAPNestedMessage` This class implements a nested IMAP message

    Fields in com.sun.mail.imap with type parameters of type IMAPMessage
    Modifier and Type | Field and Description
    --- | ---
    `protected Hashtable<Long,IMAPMessage>` | IMAPFolder.`uidTable`

    Methods in com.sun.mail.imap that return IMAPMessage
    Modifier and Type | Method and Description
    --- | ---
    `IMAPMessage` | MessageCache.`getMessage(int msgnum)` Get the message object for the indicated message number.
    `IMAPMessage` | MessageCache.`getMessageBySeqnum(int seqnum)` Get the message object for the indicated sequence number.
    `protected IMAPMessage` | IMAPFolder.`getMessageBySeqNumber(int seqnum)` Get the message object for the given sequence number.
    `protected IMAPMessage[]` | IMAPFolder.`getMessagesBySeqNumbers(int[] seqnums)` Get the message objects for the given sequence numbers.
    `protected IMAPMessage` | IMAPFolder.`newIMAPMessage(int msgnum)` Create a new IMAPMessage object to represent the given message number.
    `IMAPMessage[]` | MessageCache.`removeExpungedMessages()` Remove all the expunged messages from the array, returning a list of removed message objects.
    `IMAPMessage[]` | MessageCache.`removeExpungedMessages(Message[] msgs)` Remove expunged messages in msgs from the array, returning a list of removed message objects.

    Methods in com.sun.mail.imap with parameters of type IMAPMessage
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Utility.Condition.`test(IMAPMessage message)`
    `boolean` | IMAPMessage.FetchProfileCondition.`test(IMAPMessage m)` Return true if we NEED to fetch the requested information for the specified message.

    Constructors in com.sun.mail.imap with parameters of type IMAPMessage
    Constructor and Description
    `IMAPBodyPart(BODYSTRUCTURE bs, String sid, IMAPMessage message)`
    `IMAPInputStream(IMAPMessage msg, String section, int max, boolean peek)` Create an IMAPInputStream.
    `IMAPMultipartDataSource(MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg)`

Copyright © 2016 Oracle. All rights reserved.