javax.mail
Class Message.RecipientType

java.lang.Object
  extended by javax.mail.Message.RecipientType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MimeMessage.RecipientType
Enclosing class:
Message

public static class Message.RecipientType
extends Object
implements Serializable

Enumeration of types of recipients allowed by the Message class.

See Also:
Serialized Form

Field Summary
static Message.RecipientType BCC
          A "Bcc" or blind carbon-copy recipient.
static Message.RecipientType CC
          A "Cc" or carbon-copy recipient.
static Message.RecipientType TO
          A "To" or primary recipient.
protected  String type
           
 
Constructor Summary
protected Message.RecipientType(String type)
           
 
Method Summary
protected  Object readResolve()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TO

public static final Message.RecipientType TO
A "To" or primary recipient.


CC

public static final Message.RecipientType CC
A "Cc" or carbon-copy recipient.


BCC

public static final Message.RecipientType BCC
A "Bcc" or blind carbon-copy recipient.


type

protected String type
Constructor Detail

Message.RecipientType

protected Message.RecipientType(String type)
Method Detail

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Throws:
ObjectStreamException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.