Name

javax.mail.Multipart — This abstract class defines an entity that may contain multiple javax.mail.BodyPart objects.

Synopsis

public abstract class Multipart extends java.lang.Object {
    // Protected Constructor
            protected Multipart();
    // Protected Variables
            protected java.util.Vector parts;
            protected java.lang.String contentType;
    // Public Methods
            public java.lang.String getContentType();
            public int getCount() throws MessagingException;
            public BodyPart getBodyPart(int index) throws MessagingException;
            public boolean removeBodypart(BodyPart part) throws
             MessagingException;
            public void removeBodyPart(int index) throws MessagingException;
            public void addBodypart(BodyPart part) throws MessagingException;
            public void addBodyPart(BodyPart part, int index) throws
             MessagingException;
            public abstract void writeTo(java.io.OutputStream os) throws java.io.
             IOException, MessagingException;
    // Protected Method
            protected void setMultipartDataSource(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.