public static class MimeMessage.RecipientType extends Message.RecipientType
Message.RecipientType,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static MimeMessage.RecipientType |
NEWSGROUPS
The "Newsgroup" (Usenet news) recipients.
|
BCC, CC, TO, type| Modifier | Constructor and Description |
|---|---|
protected |
RecipientType(String type) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
toStringpublic static final MimeMessage.RecipientType NEWSGROUPS
protected RecipientType(String type)
protected Object readResolve() throws ObjectStreamException
Message.RecipientTypereadResolve method that checks for their known
instances before calling this super method.readResolve in class Message.RecipientTypeObjectStreamException - for object stream errorsCopyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.