MimeMessage.RecipientType (Java EE 5)

Java EE API


javax.mail.internet Class MimeMessage.RecipientType

java.lang.Object
  extended by javax.mail.Message.RecipientType
      extended by javax.mail.internet.MimeMessage.RecipientType
All Implemented Interfaces:
Serializable
Enclosing class:
MimeMessage

public static class MimeMessage.RecipientType
extends Message.RecipientType

Contained within: MimeMessage

此内部类扩展 javax.mail.Message.RecipientType 类,添加了其他 RecipientType。目前在这里定义的一个附加 RecipientType 是 NEWSGROUPS。
英文文档:

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

See Also:
Message.RecipientType, Serialized Form

Field Summary
static MimeMessage.RecipientType
 
Fields inherited from class javax.mail.Message.RecipientType
 
Constructor Summary
protected
 
Method Summary
protected  Object
 
Methods inherited from class javax.mail.Message.RecipientType
 
Methods inherited from class java.lang.Object
 

Field Detail

英文文档:

NEWSGROUPS

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

Constructor Detail

protected MimeMessage.RecipientType(String type)
英文文档:

MimeMessage.RecipientType

protected MimeMessage.RecipientType(String type)
Method Detail

protected Object readResolve() throws java.io.ObjectStreamException
英文文档:

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.

Overrides:
readResolve in class Message.RecipientType
Throws:
ObjectStreamException


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!