Package javax.mail

Class BodyPart

  • All Implemented Interfaces:
    Part
    Direct Known Subclasses:
    MimeBodyPart

    public abstract class BodyPart
    extends java.lang.Object
    implements Part
    A MIME body part. This is a MIME part occurring inside a multipart in the message content.
    Version:
    1.4
    Author:
    Chris Burdess
    • Field Detail

      • parent

        protected Multipart parent
        The Multipart object containing this BodyPart.
    • Constructor Detail

      • BodyPart

        public BodyPart()
    • Method Detail

      • getParent

        public Multipart getParent()
        Returns the containing Multipart object, or null if not known.