Example #1
0
 /**
  * Package private constructor.
  *
  * <p>Note that nested messages have no containing folder, nor a message number.
  */
 IMAPNestedMessage(IMAPMessage m, BODYSTRUCTURE b, ENVELOPE e, String sid) {
   super(m._getSession());
   msg = m;
   bs = b;
   envelope = e;
   sectionId = sid;
   setPeek(m.getPeek());
 }
Example #2
0
 /*
  * Get the enclosing message's sequence number. Overrides
  * IMAPMessage.getSequenceNumber().
  */
 protected int getSequenceNumber() {
   return msg.getSequenceNumber();
 }
Example #3
0
 /*
  * Get the enclosing message's messageCacheLock. Overrides
  * IMAPMessage.getMessageCacheLock().
  */
 protected Object getMessageCacheLock() {
   return msg.getMessageCacheLock();
 }
Example #4
0
 /*
  * Is this an IMAP4 REV1 server?
  */
 protected boolean isREV1() throws FolderClosedException {
   return msg.isREV1();
 }
Example #5
0
 /*
  * Get the enclosing message's Protocol object. Overrides
  * IMAPMessage.getProtocol().
  */
 protected IMAPProtocol getProtocol() throws ProtocolException, FolderClosedException {
   return msg.getProtocol();
 }
Example #6
0
 /*
  * Get the enclosing message's fetchBlockSize.
  */
 protected int getFetchBlockSize() {
   return msg.getFetchBlockSize();
 }
Example #7
0
 /*
  * Check whether the enclosing message is expunged. Overrides
  * Message.isExpunged().
  */
 public boolean isExpunged() {
   return msg.isExpunged();
 }
Example #8
0
 /*
  * Check whether the enclosing message is expunged. Overrides
  * IMAPMessage.checkExpunged().
  */
 protected void checkExpunged() throws MessageRemovedException {
   msg.checkExpunged();
 }