public class IMAPNestedMessage extends IMAPMessage
IMAPMessage.FetchProfileConditionbs, envelope, items, sectionId| Modifier and Type | Method and Description |
|---|---|
protected void |
checkExpunged() |
protected int |
getFetchBlockSize() |
protected Object |
getMessageCacheLock()
Get the messageCacheLock, associated with this Message's
Folder.
|
protected IMAPProtocol |
getProtocol()
Get this message's folder's protocol connection.
|
protected int |
getSequenceNumber()
Get this message's IMAP sequence number.
|
int |
getSize()
Get the message size.
|
protected boolean |
ignoreBodyStructureSize() |
boolean |
isExpunged() |
protected boolean |
isREV1() |
void |
setFlags(Flags flag,
boolean set)
Set/Unset the given flags in this message.
|
addFrom, addHeader, addHeaderLine, addRecipients, fetchItem, forceCheckExpunged, getAllHeaderLines, getAllHeaders, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInReplyTo, getItem, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getMimeStream, getNonMatchingHeaderLines, getNonMatchingHeaders, getPeek, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSubject, getUID, handleExtensionFetchItems, handleFetchItem, invalidateHeaders, isSet, removeHeader, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDisposition, setExpunged, setFileName, setFrom, setHeader, setMessageNumber, setPeek, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setUID, writeToprotected IMAPProtocol getProtocol() throws ProtocolException, FolderClosedException
IMAPMessagegetProtocol in class IMAPMessageProtocolExceptionFolderClosedExceptionprotected boolean isREV1()
throws FolderClosedException
isREV1 in class IMAPMessageFolderClosedExceptionprotected Object getMessageCacheLock()
IMAPMessagegetMessageCacheLock in class IMAPMessageprotected int getSequenceNumber()
IMAPMessagegetSequenceNumber in class IMAPMessageprotected void checkExpunged()
throws MessageRemovedException
checkExpunged in class IMAPMessageMessageRemovedExceptionpublic boolean isExpunged()
protected int getFetchBlockSize()
getFetchBlockSize in class IMAPMessageprotected boolean ignoreBodyStructureSize()
ignoreBodyStructureSize in class IMAPMessagepublic int getSize()
throws MessagingException
IMAPMessageNote that this returns RFC822.SIZE. That is, it's the size of the whole message, header and body included.
getSize in class IMAPMessageMessagingExceptionpublic void setFlags(Flags flag,
boolean set)
throws MessagingException
IMAPMessagesetFlags in class IMAPMessageMessagingExceptionCopyright © 2013 Oracle. All Rights Reserved.