当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.4 API Specifications
MimeMessage.RecipientType (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications
javax.mail.internet
Class MimeMessage.RecipientType
java.lang.Object
javax.mail.Message.RecipientType
javax.mail.internet.MimeMessage.RecipientType
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- 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.
- See Also:
Message.RecipientType
,
Serialized Form
Method Summary |
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. |
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.
- Overrides:
readResolve
in class Message.RecipientType
- Throws:
ObjectStreamException
Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.