## Uses of Class
javax.mail.BodyPart

- Packages that use BodyPart
  Package | Description
  --- | ---
  com.sun.mail.dsn | Support for creating and parsing Delivery Status Notifications.
  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.
  javax.mail.internet | Classes specific to Internet mail systems.

- - ### Uses of BodyPart in com.sun.mail.dsn

    Methods in com.sun.mail.dsn with parameters of type BodyPart
    Modifier and Type | Method and Description
    --- | ---
    `void` | MultipartReport.`addBodyPart(BodyPart part)` Adds a Part to the multipart.
    `void` | MultipartReport.`addBodyPart(BodyPart part, int index)` Adds a BodyPart at position `index`.
    `boolean` | MultipartReport.`removeBodyPart(BodyPart part)` Remove the specified part from the multipart message.

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

    Subclasses of BodyPart in com.sun.mail.imap
    Modifier and Type | Class and Description
    --- | ---
    `class` | `IMAPBodyPart` An IMAP body part.

    Methods in com.sun.mail.imap that return BodyPart
    Modifier and Type | Method and Description
    --- | ---
    `BodyPart` | IMAPMultipartDataSource.`getBodyPart(int index)`

  - ### Uses of BodyPart in javax.mail

    Methods in javax.mail that return BodyPart
    Modifier and Type | Method and Description
    --- | ---
    `BodyPart` | Multipart.`getBodyPart(int index)` Get the specified Part.
    `BodyPart` | MultipartDataSource.`getBodyPart(int index)` Get the specified Part.

    Methods in javax.mail with parameters of type BodyPart
    Modifier and Type | Method and Description
    --- | ---
    `void` | Multipart.`addBodyPart(BodyPart part)` Adds a Part to the multipart.
    `void` | Multipart.`addBodyPart(BodyPart part, int index)` Adds a BodyPart at position `index`.
    `boolean` | Multipart.`removeBodyPart(BodyPart part)` Remove the specified part from the multipart message.

  - ### Uses of BodyPart in javax.mail.internet

    Subclasses of BodyPart in javax.mail.internet
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MimeBodyPart` This class represents a MIME body part.
    `class` | `PreencodedMimeBodyPart` A MimeBodyPart that handles data that has already been encoded.

    Methods in javax.mail.internet that return BodyPart
    Modifier and Type | Method and Description
    --- | ---
    `BodyPart` | MimeMultipart.`getBodyPart(int index)` Get the specified BodyPart.
    `BodyPart` | MimeMultipart.`getBodyPart(String CID)` Get the MimeBodyPart referred to by the given ContentID (CID).

    Methods in javax.mail.internet with parameters of type BodyPart
    Modifier and Type | Method and Description
    --- | ---
    `void` | MimeMultipart.`addBodyPart(BodyPart part)` Adds a Part to the multipart.
    `void` | MimeMultipart.`addBodyPart(BodyPart part, int index)` Adds a BodyPart at position `index`.
    `boolean` | MimeMultipart.`removeBodyPart(BodyPart part)` Remove the specified part from the multipart message.

    Constructors in javax.mail.internet with parameters of type BodyPart
    Constructor and Description
    `MimeMultipart(BodyPart... parts)` Construct a MimeMultipart object of the default "mixed" subtype, and with the given body parts.
    `MimeMultipart(String subtype, BodyPart... parts)` Construct a MimeMultipart object of the given subtype and with the given body parts.

Copyright © 2016 Oracle. All rights reserved.