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