Uses of Class javax.mail.Multipart (JavaMail API documentation)
Date: 2018-05-06

## Uses of Class
javax.mail.Multipart

- Packages that use Multipart
  Package | Description
  --- | ---
  com.sun.mail.dsn | Support for creating and parsing Delivery Status Notifications.
  javax.mail | The JavaMailTM API provides classes that model a mail system.
  javax.mail.internet | Classes specific to Internet mail systems.

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

    Subclasses of Multipart in com.sun.mail.dsn
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultipartReport` A multipart/report message content, as defined in RFC 3462.

  - ### Uses of Multipart in javax.mail

    Fields in javax.mail declared as Multipart
    Modifier and Type | Field and Description
    --- | ---
    `protected Multipart` | BodyPart.`parent` The `Multipart` object containing this `BodyPart`, if known.

    Methods in javax.mail that return Multipart
    Modifier and Type | Method and Description
    --- | ---
    `Multipart` | BodyPart.`getParent()` Return the containing `Multipart` object, or `null` if not known.

    Methods in javax.mail with parameters of type Multipart
    Modifier and Type | Method and Description
    --- | ---
    `void` | Part.`setContent(Multipart mp)` This method sets the given Multipart object as this message's content.

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

    Subclasses of Multipart in javax.mail.internet
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MimeMultipart` The MimeMultipart class is an implementation of the abstract Multipart class that uses MIME conventions for the multipart data.

    Methods in javax.mail.internet with parameters of type Multipart
    Modifier and Type | Method and Description
    --- | ---
    `void` | MimeMessage.`setContent(Multipart mp)` This method sets the Message's content to a Multipart object.
    `void` | MimeBodyPart.`setContent(Multipart mp)` This method sets the body part's content to a Multipart object.

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