This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.imap
class IMAPNestedMessage

javax.mail.Message extended by javax.mail.internet.MimeMessage extended by com.sun.mail.imap.IMAPMessage extended by com.sun.mail.imap.IMAPNestedMessage
All Implemented Interfaces:
Part, MimePart

public class IMAPNestedMessage
extends IMAPMessage

This class implements a nested IMAP message


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage
MimeMessage.RecipientType
 
Nested classes/interfaces inherited from class javax.mail.Message
Message.RecipientType
   
Field Summary
 
Fields inherited from class com.sun.mail.imap.IMAPMessage
bs, envelope, sectionId
 
Fields inherited from class javax.mail.internet.MimeMessage
content, contentStream, dh, flags, headers, modified, saved
 
Fields inherited from class javax.mail.Message
expunged, folder, msgnum, session
 
Method Summary
protected void

          
protected int

          
protected Object

          Get the messageCacheLock, associated with this Message's Folder.
protected IMAPProtocol

          Get this message's folder's protocol connection.
protected int

          Get this message's IMAP sequence number.
 int

          Get the message size.
 boolean

          Checks whether this message is expunged.
protected boolean

          
 void
setFlags(Flags flag, boolean set)

          Set/Unset the given flags in this message.
 
Methods inherited from class com.sun.mail.imap.IMAPMessage
addFrom, addHeader, addHeaderLine, addRecipients, checkExpunged, forceCheckExpunged, getAllHeaderLines, getAllHeaders, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFetchBlockSize, getFileName, getFlags, getFrom, getHeader, getHeader, getInReplyTo, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageCacheLock, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getPeek, getProtocol, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSequenceNumber, getSize, getSubject, getUID, invalidateHeaders, isREV1, isSet, removeHeader, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDisposition, setExpunged, setFileName, setFlags, setFrom, setHeader, setMessageNumber, setPeek, setRecipients, setReplyTo, setSender, setSentDate, setSequenceNumber, setSubject, setUID, writeTo
 
Methods inherited from class javax.mail.internet.MimeMessage
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, updateHeaders, updateMessageID, writeTo, writeTo
 
Methods inherited from class javax.mail.Message
addFrom, addRecipient, addRecipients, getAllRecipients, getFlags, getFolder, getFrom, getMessageNumber, getReceivedDate, getRecipients, getReplyTo, getSentDate, getSubject, isExpunged, isSet, match, reply, saveChanges, send, setExpunged, setFlag, setFlags, setFrom, setFrom, setMessageNumber, setRecipient, setRecipients, setReplyTo, setSentDate, setSubject
 

Method Detail

checkExpunged

protected void checkExpunged()
                      throws MessageRemovedException
Overrides:
checkExpunged in class IMAPMessage
Throws:
MessageRemovedException

getFetchBlockSize

protected int getFetchBlockSize()
Overrides:
getFetchBlockSize in class IMAPMessage

getMessageCacheLock

protected Object getMessageCacheLock()
Overrides:
getMessageCacheLock in class IMAPMessage

getProtocol

protected IMAPProtocol getProtocol()
                            throws ProtocolException,
                                   FolderClosedException
Overrides:
getProtocol in class IMAPMessage
Throws:
ProtocolException
FolderClosedException

getSequenceNumber

protected int getSequenceNumber()
Overrides:
getSequenceNumber in class IMAPMessage

getSize

public int getSize()
            throws MessagingException
Overrides:
getSize in class IMAPMessage
Throws:
MessagingException

isExpunged

public boolean isExpunged()
Overrides:
isExpunged in class Message

isREV1

protected boolean isREV1()
                  throws FolderClosedException
Overrides:
isREV1 in class IMAPMessage
Throws:
FolderClosedException

setFlags

public synchronized void setFlags(Flags flag,
                                  boolean set)
                           throws MessagingException
Overrides:
setFlags in class IMAPMessage
Parameters:
flag
set
Throws:
MessagingException


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.