接口 javax.mail.internet.MimePart
的使用

使用 MimePart 的软件包
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. 
com.sun.mail.pop3 A POP3 protocol provider for the JavaMail API that provides access to a POP3 message store. 
com.sun.mail.smtp An SMTP protocol provider for the JavaMail API that provides access to an SMTP server. 
javax.mail.internet Classes specific to Internet mail systems. 
 

com.sun.mail.dsnMimePart 的使用
 

实现 MimePartcom.sun.mail.dsn 中的类
 class MessageHeaders
          A special MimeMessage object that contains only message headers, no content.
 

com.sun.mail.imapMimePart 的使用
 

实现 MimePartcom.sun.mail.imap 中的类
 class IMAPBodyPart
          This class
 class IMAPMessage
          This class implements an IMAPMessage object.
 class IMAPNestedMessage
          This class implements a nested IMAP message
 

参数类型为 MimePartcom.sun.mail.imap 中的构造方法
IMAPMultipartDataSource(MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg)
           
 

com.sun.mail.pop3MimePart 的使用
 

实现 MimePartcom.sun.mail.pop3 中的类
 class POP3Message
          A POP3 Message.
 

com.sun.mail.smtpMimePart 的使用
 

实现 MimePartcom.sun.mail.smtp 中的类
 class SMTPMessage
          This class is a specialization of the MimeMessage class that allows you to specify various SMTP options and parameters that will be used when this message is sent over SMTP.
 

javax.mail.internetMimePart 的使用
 

实现 MimePartjavax.mail.internet 中的类
 class MimeBodyPart
          This class represents a MIME body part.
 class MimeMessage
          This class represents a MIME style email message.
 class PreencodedMimeBodyPart
          A MimeBodyPart that handles data that has already been encoded.
 

声明为 MimePartjavax.mail.internet 中的字段
protected  MimePart MimePartDataSource.part
          The MimePart that provides the data for this DataSource.
 

参数类型为 MimePartjavax.mail.internet 中的构造方法
MimePartDataSource(MimePart part)
          Constructor, that constructs a DataSource from a MimePart.
 



Copyright © 2013. All Rights Reserved.