Package 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
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MimeMessage.RecipientTypeThe "Newsgroup" (Usenet news) recipients.Fields inherited from class javax.mail.Message.RecipientType
BCC, CC, TO, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectWhen deserializing a RecipientType, we need to make sure to return only one of the known static final instances defined in this class.Methods inherited from class javax.mail.Message.RecipientType
toString
-
Field Details
-
NEWSGROUPS
The "Newsgroup" (Usenet news) recipients.
-
-
Constructor Details
-
RecipientType
-
-
Method Details
-
readResolve
Description copied from class:Message.RecipientTypeWhen 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 ownreadResolvemethod that checks for their known instances before calling this super method.- Overrides:
readResolvein classMessage.RecipientType- Throws:
ObjectStreamException
-