示例#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());
 }
示例#2
0
 /*
  * Get the enclosing message's sequence number. Overrides
  * IMAPMessage.getSequenceNumber().
  */
 protected int getSequenceNumber() {
   return msg.getSequenceNumber();
 }
示例#3
0
 /*
  * Get the enclosing message's messageCacheLock. Overrides
  * IMAPMessage.getMessageCacheLock().
  */
 protected Object getMessageCacheLock() {
   return msg.getMessageCacheLock();
 }
示例#4
0
 /*
  * Is this an IMAP4 REV1 server?
  */
 protected boolean isREV1() throws FolderClosedException {
   return msg.isREV1();
 }
示例#5
0
 /*
  * Get the enclosing message's Protocol object. Overrides
  * IMAPMessage.getProtocol().
  */
 protected IMAPProtocol getProtocol() throws ProtocolException, FolderClosedException {
   return msg.getProtocol();
 }
示例#6
0
 /*
  * Get the enclosing message's fetchBlockSize.
  */
 protected int getFetchBlockSize() {
   return msg.getFetchBlockSize();
 }
示例#7
0
 /*
  * Check whether the enclosing message is expunged. Overrides
  * Message.isExpunged().
  */
 public boolean isExpunged() {
   return msg.isExpunged();
 }
示例#8
0
 /*
  * Check whether the enclosing message is expunged. Overrides
  * IMAPMessage.checkExpunged().
  */
 protected void checkExpunged() throws MessageRemovedException {
   msg.checkExpunged();
 }