| Modifier and Type | Field and Description |
|---|---|
| private IMAPMessage |
| Access | Constructor and Description |
|---|---|
| pack-priv | IMAPNestedMessage(IMAPMessage m, BODYSTRUCTURE b, ENVELOPE e, String sid)
Package private constructor. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected int | |
| protected Object | getMessageCacheLock()
Overrides com. |
| protected IMAPProtocol | getProtocol()
Overrides com. |
| protected int | getSequenceNumber()
Get this message's IMAP sequence number.
|
| public int | getSize()
Overrides com. Implements javax. |
| protected boolean | |
| public boolean | |
| protected boolean | |
| public synchronized void | setFlags(Flags
Flags object containing the flags to be set flag, boolean the value to be set set)Overrides com. |
| msg | back to summary |
|---|---|
| private IMAPMessage msg | |
| IMAPNestedMessage | back to summary |
|---|---|
| pack-priv IMAPNestedMessage(IMAPMessage m, BODYSTRUCTURE b, ENVELOPE e, String sid) Package private constructor. Note that nested messages have no containing folder, nor a message number. | |
| checkExpunged | back to summary |
|---|---|
| protected void checkExpunged() throws MessageRemovedException Overrides com.
| |
| getFetchBlockSize | back to summary |
|---|---|
| protected int getFetchBlockSize() Overrides com.
| |
| getMessageCacheLock | back to summary |
|---|---|
| protected Object getMessageCacheLock() Overrides com. Doc from com. Get the messageCacheLock, associated with this Message's Folder. | |
| getProtocol | back to summary |
|---|---|
| protected IMAPProtocol getProtocol() throws ProtocolException, FolderClosedException Overrides com. Doc from com. Get this message's folder's protocol connection. Throws FolderClosedException, if the protocol connection is not available. ASSERT: Must hold the messageCacheLock.
| |
| getSequenceNumber | back to summary |
|---|---|
| protected int getSequenceNumber() Overrides com. Doc from com. Get this message's IMAP sequence number. ASSERT: This method must be called only when holding the messageCacheLock.
| |
| getSize | back to summary |
|---|---|
| public int getSize() throws MessagingException Overrides com. Implements javax. Doc from com. Get the message size. Note 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.
| |
| ignoreBodyStructureSize | back to summary |
|---|---|
| protected boolean ignoreBodyStructureSize() Overrides com.
| |
| isExpunged | back to summary |
|---|---|
| public boolean isExpunged() Overrides javax. Doc from javax. Checks whether this message is expunged. All other methods except
Messages that are expunged due to an explict
See the description of
| |
| isREV1 | back to summary |
|---|---|
| protected boolean isREV1() throws FolderClosedException Overrides com.
| |
| setFlags | back to summary |
|---|---|
| public synchronized void setFlags(Flags flag, boolean set) throws MessagingException Overrides com. Doc from com. Set/Unset the given flags in this message.
| |