## Uses of Interface
javax.mail.Part

- Packages that use Part
  Package | Description
  --- | ---
  javax.mail | The JavaMailTM API provides classes that model a mail system.
  javax.mail.internet | Classes specific to Internet mail systems.

- - ### Uses of Part in javax.mail

    Classes in javax.mail that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BodyPart` This class models a Part that is contained within a Multipart.
    `class` | `Message` This class models an email message.

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

    Methods in javax.mail that return Part
    Modifier and Type | Method and Description
    --- | ---
    `Part` | Multipart.`getParent()` Return the `Part` that contains this `Multipart` object, or `null` if not known.
    `Part` | MessageContext.`getPart()` Return the Part that contains the content.

    Methods in javax.mail with parameters of type Part
    Modifier and Type | Method and Description
    --- | ---
    `void` | Multipart.`setParent(Part parent)` Set the parent of this `Multipart` to be the specified `Part`.

    Constructors in javax.mail with parameters of type Part
    Constructor and Description
    `MessageContext(Part part)` Create a MessageContext object describing the context of the given Part.

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

    Subinterfaces of Part in javax.mail.internet
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `MimePart` The MimePart interface models an Entity as defined by MIME (RFC2045, Section 2.4).

    Classes in javax.mail.internet that implement Part
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MimeBodyPart` This class represents a MIME body part.
    `class` | `MimeMessage` This class represents a MIME style email message.
    `class` | `PreencodedMimeBodyPart` A MimeBodyPart that handles data that has already been encoded.

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