MimeMessage.RecipientType (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail.internet Class MimeMessage.RecipientType

java.lang.Object
  extended by javax.mail.Message.RecipientType
      extended by javax.mail.internet.MimeMessage.RecipientType
所有已实现的接口:
Serializable
封闭类:
MimeMessage

public static class MimeMessage.RecipientType
extends Message.RecipientType

This inner class extends the javax.mail.Message.RecipientType class to add additional RecipientTypes. The one additional RecipientType currently defined here is NEWSGROUPS.

另请参见:
Message.RecipientType, Serialized Form

字段摘要
static MimeMessage.RecipientType NEWSGROUPS
          The "Newsgroup" (Usenet news) recipients.
 
Fields inherited from class javax.mail.Message.RecipientType
BCC, CC, TO, type
 
构造器摘要
protected MimeMessage.RecipientType(String type)
           
 
方法摘要
protected  Object readResolve()
          When deserializing a RecipientType, we need to make sure to return only one of the known static final instances defined in this class.
 
类方法继承 javax.mail.Message.RecipientType
toString
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

NEWSGROUPS

public static final MimeMessage.RecipientType NEWSGROUPS
The "Newsgroup" (Usenet news) recipients.

构造器详细信息

MimeMessage.RecipientType

protected MimeMessage.RecipientType(String type)
方法详细信息

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Description copied from class: Message.RecipientType
When deserializing a RecipientType, we need to make sure to return only one of the known static final instances defined in this class. Subclasses must implement their own readResolve method that checks for their known instances before calling this super method.

重写:
readResolve in class Message.RecipientType
抛出异常:
ObjectStreamException

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.