public class IMAPNestedMessage extends IMAPMessage
IMAPMessage.FetchProfileConditionMimeMessage.RecipientTypebs, envelope, items, sectionIdcachedContent, content, contentStream, dh, flags, headers, modified, savedATTACHMENT, INLINE| 限定符和类型 | 方法和说明 |
|---|---|
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()
Checks whether this message is expunged.
|
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, getModSeq, getNonMatchingHeaderLines, getNonMatchingHeaders, getPeek, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSizeLong, 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, writeToaddRecipients, createInternetHeaders, createMimeMessage, getAllRecipients, getContent, getInputStream, getRawInputStream, isMimeType, parse, reply, reply, saveChanges, setContent, setContent, setDescription, setFrom, setFrom, setRecipients, setSubject, setText, setText, setText, updateHeaders, updateMessageID, writeToaddRecipient, getFolder, getMessageNumber, getSession, match, setFlag, setRecipientprotected IMAPProtocol getProtocol() throws ProtocolException, FolderClosedException
IMAPMessagegetProtocol 在类中 IMAPMessageProtocolException - for protocol errorsFolderClosedException - if the folder is closedprotected boolean isREV1()
throws FolderClosedException
isREV1 在类中 IMAPMessageFolderClosedExceptionprotected Object getMessageCacheLock()
IMAPMessagegetMessageCacheLock 在类中 IMAPMessageprotected int getSequenceNumber()
IMAPMessagegetSequenceNumber 在类中 IMAPMessageprotected void checkExpunged()
throws MessageRemovedException
checkExpunged 在类中 IMAPMessageMessageRemovedExceptionpublic boolean isExpunged()
MessagegetMessageNumber() are invalid on an expunged
Message object.
Messages that are expunged due to an explict expunge()
request on the containing Folder are removed from the Folder
immediately. Messages that are externally expunged by another source
are marked "expunged" and return true for the isExpunged() method,
but they are not removed from the Folder until an explicit
expunge() is done on the Folder.
See the description of expunge() for more details on
expunge handling.
isExpunged 在类中 MessageFolder.expunge()protected int getFetchBlockSize()
getFetchBlockSize 在类中 IMAPMessageprotected boolean ignoreBodyStructureSize()
ignoreBodyStructureSize 在类中 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. Note also that if the size of the message is greater than Integer.MAX_VALUE (2GB), this method returns Integer.MAX_VALUE.
getSize 在接口中 PartgetSize 在类中 IMAPMessageMessagingException - for failurespublic void setFlags(Flags flag, boolean set) throws MessagingException
IMAPMessagesetFlags 在类中 IMAPMessageflag - Flags object containing the flags to be setset - the value to be setIllegalWriteException - if the underlying
implementation does not support modificationMessagingException - for other failuresMessageChangedEventCopyright © 2021 Oracle. All rights reserved.