javax.mail.internet
类 MimeMessage.RecipientType

java.lang.Object
  继承者 javax.mail.Message.RecipientType
      继承者 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, 序列化表格

字段摘要
static MimeMessage.RecipientType NEWSGROUPS
          The "Newsgroup" (Usenet news) recipients.
 
从类 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
从类 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.

覆盖:
Message.RecipientType 中的 readResolve
抛出:
ObjectStreamException


Copyright © 2013. All Rights Reserved.