Module jakarta.mail
Package jakarta.mail

Class BodyPart

java.lang.Object
jakarta.mail.BodyPart
All Implemented Interfaces:
Part
Direct Known Subclasses:
MimeBodyPart

public abstract class BodyPart extends Object implements Part
This class models a Part that is contained within a Multipart. This is an abstract class. Subclasses provide actual implementations.

BodyPart implements the Part interface. Thus, it contains a set of attributes and a "content".