public static class MimeMessage.RecipientType extends Message.RecipientType
Message.RecipientType
,
Serialized FormModifier and Type | Field and Description |
---|---|
static MimeMessage.RecipientType |
NEWSGROUPS
The "Newsgroup" (Usenet news) recipients.
|
BCC, CC, TO, type
Modifier | Constructor and Description |
---|---|
protected |
MimeMessage.RecipientType(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.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.
|
toString
public static final MimeMessage.RecipientType NEWSGROUPS
protected MimeMessage.RecipientType(java.lang.String type)
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
Message.RecipientType
readResolve
method that checks for their known
instances before calling this super method.readResolve
in class Message.RecipientType
java.io.ObjectStreamException
Copyright © 2012 Oracle. All Rights Reserved.