Uses of Class
jakarta.mail.BodyPart
-
Packages that use BodyPart Package Description jakarta.mail The Jakarta Mail API provides classes that model a mail system.jakarta.mail.internet Classes specific to Internet mail systems. -
-
Uses of BodyPart in jakarta.mail
Fields in jakarta.mail with type parameters of type BodyPart Modifier and Type Field Description protected Vector<BodyPart>
Multipart. parts
Vector of BodyPart objects.Methods in jakarta.mail that return BodyPart Modifier and Type Method Description BodyPart
Multipart. getBodyPart(int index)
Get the specified Part.BodyPart
MultipartDataSource. getBodyPart(int index)
Get the specified Part.Methods in jakarta.mail with parameters of type BodyPart Modifier and Type Method Description void
Multipart. addBodyPart(BodyPart part)
Adds a Part to the multipart.void
Multipart. addBodyPart(BodyPart part, int index)
Adds a BodyPart at positionindex
.boolean
Multipart. removeBodyPart(BodyPart part)
Remove the specified part from the multipart message. -
Uses of BodyPart in jakarta.mail.internet
Subclasses of BodyPart in jakarta.mail.internet Modifier and Type Class Description class
MimeBodyPart
This class represents a MIME body part.class
PreencodedMimeBodyPart
A MimeBodyPart that handles data that has already been encoded.Methods in jakarta.mail.internet that return BodyPart Modifier and Type Method 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 jakarta.mail.internet with parameters of type BodyPart Modifier and Type Method Description void
MimeMultipart. addBodyPart(BodyPart part)
Adds a Part to the multipart.void
MimeMultipart. addBodyPart(BodyPart part, int index)
Adds a BodyPart at positionindex
.boolean
MimeMultipart. removeBodyPart(BodyPart part)
Remove the specified part from the multipart message.Constructors in jakarta.mail.internet with parameters of type BodyPart Constructor 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.
-