Name

javax.mail.internet.MimeBodyPart — This class implements the BodyPart abstract class and the MimePart interface to model a MIME body part.

Synopsis

public class MimeBodyPart extends BodyPart implements MimePart {
    // Public Constructor
            public MimeBodyPart ( );
    // Protected Variables
            protected javax.activation.DataHandler dh;
            protected byte[] content;
            protected InternetHeaders headers;
    // Public Methods
            public int getSize() throws MessagingException;
            public int getLineCount() throws MessagingException;
            public java.lang.String getContentType() throws MessagingException;
            public boolean isMimeType(java.lang.String mimeType) throws
             MessagingException;
            public java.lang.String getDisposition() throws MessagingException;
            public void setDisposition(java.lang.String disposition) throws
             MessagingException;
            public java.lang.String getEncoding() throws MessagingException;
            public java.lang.String getContentID() throws MessagingException;
            public java.lang.String getContentMD5() throws MessagingException;
            public void setContentMD5(java.lang.String md5) throws
             MessagingException;
            public java.lang.String[] getContentLanguage() throws
             MessagingException;
            public void setContentLanguage(java.lang.String[] languages) throws
             MessagingException;
            public java.lang.String getDescription() throws MessagingException;
            public void setDescription(java.lang.String description) throws
             MessagingException;
            public void setDescription(java.lang.String description, java.lang.String charset) throws MessagingException; ...

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.