javax.mail.internet

Class MimeMessage.RecipientType

Enclosing Class:
MimeMessage
Implemented Interfaces:
Serializable

public static class MimeMessage.RecipientType
extends Message.RecipientType

Extends Message.RecipientType to support addition recipient types.

Field Summary

static MimeMessage.RecipientType
NEWSGROUPS
Recipient type for Usenet news.

Fields inherited from class javax.mail.Message.RecipientType

BCC, CC, TO, type

Constructor Summary

RecipientType(String type)

Method Summary

protected Object
readResolve()
Ensure the singleton is returned.

Methods inherited from class javax.mail.Message.RecipientType

readResolve, toString

Field Details

NEWSGROUPS

public static final MimeMessage.RecipientType NEWSGROUPS
Recipient type for Usenet news.

Constructor Details

RecipientType

protected RecipientType(String type)

Method Details

readResolve

protected Object readResolve()
            throws ObjectStreamException
Ensure the singleton is returned.
Overrides:
readResolve in interface Message.RecipientType
Returns:
resolved object