类 javax.mail.BodyPart
的使用

使用 BodyPart 的软件包
com.sun.mail.dsn Support for creating and parsing Delivery Status Notifications. 
com.sun.mail.imap An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store. 
javax.mail The JavaMailTM API provides classes that model a mail system. 
javax.mail.internet Classes specific to Internet mail systems. 
 

com.sun.mail.dsn 中 BodyPart 的使用
 

参数类型为 BodyPart 的 com.sun.mail.dsn 中的方法
 void MultipartReport.addBodyPart(BodyPart part)
          Adds a Part to the multipart.
 void MultipartReport.addBodyPart(BodyPart part, int index)
          Adds a BodyPart at position index.
 boolean MultipartReport.removeBodyPart(BodyPart part)
          Remove the specified part from the multipart message.
 

com.sun.mail.imap 中 BodyPart 的使用
 

com.sun.mail.imap 中 BodyPart 的子类
 class IMAPBodyPart
          This class
 

返回 BodyPart 的 com.sun.mail.imap 中的方法
 BodyPart IMAPMultipartDataSource.getBodyPart(int index)
           
 

javax.mail 中 BodyPart 的使用
 

返回 BodyPart 的 javax.mail 中的方法
 BodyPart MultipartDataSource.getBodyPart(int index)
          Get the specified Part.
 BodyPart Multipart.getBodyPart(int index)
          Get the specified Part.
 

参数类型为 BodyPart 的 javax.mail 中的方法
 void Multipart.addBodyPart(BodyPart part)
          Adds a Part to the multipart.
 void Multipart.addBodyPart(BodyPart part, int index)
          Adds a BodyPart at position index.
 boolean Multipart.removeBodyPart(BodyPart part)
          Remove the specified part from the multipart message.
 

javax.mail.internet 中 BodyPart 的使用
 

javax.mail.internet 中 BodyPart 的子类
 class MimeBodyPart
          This class represents a MIME body part.
 class PreencodedMimeBodyPart
          A MimeBodyPart that handles data that has already been encoded.
 

返回 BodyPart 的 javax.mail.internet 中的方法
 BodyPart MimeMultipart.getBodyPart(int index)
          Get the specified BodyPart.
 BodyPart MimeMultipart.getBodyPart(String CID)
          Get the MimeBodyPart referred to by the given ContentID (CID).
 

参数类型为 BodyPart 的 javax.mail.internet 中的方法
 void MimeMultipart.addBodyPart(BodyPart part)
          Adds a Part to the multipart.
 void MimeMultipart.addBodyPart(BodyPart part, int index)
          Adds a BodyPart at position index.
 boolean MimeMultipart.removeBodyPart(BodyPart part)
          Remove the specified part from the multipart message.
 



Copyright © 2013. All Rights Reserved.