Name
javax.mail.internet.MimeBodyPart — This class implements the BodyPart
abstract class and the MimePart
interface to
model a MIME body part.
Synopsis
public classMimeBodyPart
extends BodyPart implements MimePart { // Public Constructor publicMimeBodyPart ( );
// Protected Variables protected javax.activation.DataHandlerdh;
protected byte[]content;
protected InternetHeadersheaders;
// Public Methods public intgetSize()
throws MessagingException; public intgetLineCount()
throws MessagingException; public java.lang.StringgetContentType()
throws MessagingException; public booleanisMimeType
(java.lang.String mimeType) throws MessagingException; public java.lang.StringgetDisposition()
throws MessagingException; public voidsetDisposition
(java.lang.String disposition) throws MessagingException; public java.lang.StringgetEncoding()
throws MessagingException; public java.lang.StringgetContentID()
throws MessagingException; public java.lang.StringgetContentMD5()
throws MessagingException; public voidsetContentMD5
(java.lang.String md5) throws MessagingException; public java.lang.String[]getContentLanguage()
throws MessagingException; public voidsetContentLanguage
(java.lang.String[] languages) throws MessagingException; public java.lang.StringgetDescription()
throws MessagingException; public voidsetDescription
(java.lang.String description) throws MessagingException; public voidsetDescription
(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.