IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 5.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM Platform, Enterprise Edition, v 5.0

javax.mail.internet
Class MimeMessage.RecipientType

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

public static class MimeMessage.RecipientType
extends Message.RecipientType

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:
Message.RecipientType, Serialized Form

Field Summary
static MimeMessage.RecipientType NEWSGROUPS
          The "Newsgroup" (Usenet news) recipients.
 
Fields inherited from class javax.mail.Message.RecipientType
BCC, CC, TO, type
 
Constructor Summary
protected MimeMessage.RecipientType(String type)
           
 
Method Summary
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.
 
Methods inherited from class javax.mail.Message.RecipientType
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEWSGROUPS

public static final MimeMessage.RecipientType NEWSGROUPS
The "Newsgroup" (Usenet news) recipients.

Constructor Detail

MimeMessage.RecipientType

protected MimeMessage.RecipientType(String type)
Method Detail

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Description copied from class: Message.RecipientType
When 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 own readResolve method that checks for their known instances before calling this super method.

Overrides:
readResolve in class Message.RecipientType
Throws:
ObjectStreamException

Copyright 2003 Sun Microsystems, Inc. All rights reserved