Name
javax.mail.Multipart — This abstract class defines an entity that may contain multiple javax.mail.BodyPart objects.
Synopsis
public abstract classMultipart
extends java.lang.Object { // Protected Constructor protectedMultipart
(); // Protected Variables protected java.util.Vectorparts;
protected java.lang.StringcontentType;
// Public Methods public java.lang.StringgetContentType
(); public int getCount() throwsMessagingException;
public BodyPartgetBodyPart
(int index) throws MessagingException; public booleanremoveBodypart
(BodyPart part) throws MessagingException; public voidremoveBodyPart
(int index) throws MessagingException; public voidaddBodypart
(BodyPart part) throws MessagingException; public voidaddBodyPart
(BodyPart part, int index) throws MessagingException; public abstract voidwriteTo
(java.io.OutputStream os) throws java.io. IOException, MessagingException; // Protected Method protected voidsetMultipartDataSource
(MultipartDataSource mp) throws MessagingException; }
Hierarchy
java.lang.Object→javax.mail.Multipart
Get Programming Internet Email now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.