/** * COPY command. * * @param start start message number * @param end end message number * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(int start, int end, String mbox) throws ProtocolException { copyuid(String.valueOf(start) + ":" + String.valueOf(end), mbox, false); }
/** * COPY command. * * @param start start message number * @param end end message number * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(int start, int end, String mbox) throws ProtocolException { copyuid(String.valueOf(start) + ":" + String.valueOf(end), mbox, false); }
/** * COPY command, return uid from COPYUID response code. * * @param start start message number * @param end end message number * @param mbox the mailbox to copy them to * @return COPYUID response data * @exception ProtocolException for protocol failures * @see "RFC 4315, section 3" */ public CopyUID copyuid(int start, int end, String mbox) throws ProtocolException { return copyuid(String.valueOf(start) + ":" + String.valueOf(end), mbox, true); }
/** * COPY command, return uid from COPYUID response code. * * @param start start message number * @param end end message number * @param mbox the mailbox to copy them to * @return COPYUID response data * @exception ProtocolException for protocol failures * @see "RFC 4315, section 3" */ public CopyUID copyuid(int start, int end, String mbox) throws ProtocolException { return copyuid(String.valueOf(start) + ":" + String.valueOf(end), mbox, true); }
/** * COPY command. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(MessageSet[] msgsets, String mbox) throws ProtocolException { copyuid(MessageSet.toString(msgsets), mbox, false); }
/** * COPY command. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(MessageSet[] msgsets, String mbox) throws ProtocolException { copyuid(MessageSet.toString(msgsets), mbox, false); }
/** * COPY command, return uid from COPYUID response code. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @return COPYUID response data * @exception ProtocolException for protocol failures * @see "RFC 4315, section 3" */ public CopyUID copyuid(MessageSet[] msgsets, String mbox) throws ProtocolException { return copyuid(MessageSet.toString(msgsets), mbox, true); }
/** * COPY command, return uid from COPYUID response code. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @return COPYUID response data * @exception ProtocolException for protocol failures * @see "RFC 4315, section 3" */ public CopyUID copyuid(MessageSet[] msgsets, String mbox) throws ProtocolException { return copyuid(MessageSet.toString(msgsets), mbox, true); }
/** * COPY command. * * @param start start message number * @param end end message number * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(int start, int end, String mbox) throws ProtocolException { copyuid(String.valueOf(start) + ":" + String.valueOf(end), mbox, false); }
/** * COPY command. * * @param start start message number * @param end end message number * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(int start, int end, String mbox) throws ProtocolException { copyuid(String.valueOf(start) + ":" + String.valueOf(end), mbox, false); }
/** * COPY command. * * @param start start message number * @param end end message number * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(int start, int end, String mbox) throws ProtocolException { copyuid(String.valueOf(start) + ":" + String.valueOf(end), mbox, false); }
/** * COPY command. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(MessageSet[] msgsets, String mbox) throws ProtocolException { copyuid(MessageSet.toString(msgsets), mbox, false); }
/** * COPY command. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(MessageSet[] msgsets, String mbox) throws ProtocolException { copyuid(MessageSet.toString(msgsets), mbox, false); }
/** * COPY command. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(MessageSet[] msgsets, String mbox) throws ProtocolException { copyuid(MessageSet.toString(msgsets), mbox, false); }
/** * COPY command. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @exception ProtocolException for protocol failures */ public void copy(MessageSet[] msgsets, String mbox) throws ProtocolException { copyuid(MessageSet.toString(msgsets), mbox, false); }
/** * COPY command, return uid from COPYUID response code. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @return COPYUID response data * @exception ProtocolException for protocol failures * @see "RFC 4315, section 3" */ public CopyUID copyuid(MessageSet[] msgsets, String mbox) throws ProtocolException { return copyuid(MessageSet.toString(msgsets), mbox, true); }
/** * COPY command, return uid from COPYUID response code. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @return COPYUID response data * @exception ProtocolException for protocol failures * @see "RFC 4315, section 3" */ public CopyUID copyuid(MessageSet[] msgsets, String mbox) throws ProtocolException { return copyuid(MessageSet.toString(msgsets), mbox, true); }
/** * COPY command, return uid from COPYUID response code. * * @param msgsets the messages to copy * @param mbox the mailbox to copy them to * @return COPYUID response data * @exception ProtocolException for protocol failures * @see "RFC 4315, section 3" */ public CopyUID copyuid(MessageSet[] msgsets, String mbox) throws ProtocolException { return copyuid(MessageSet.toString(msgsets), mbox, true); }
cuid = p.moveuid(ms, folder.getFullName()); else cuid = p.copyuid(ms, folder.getFullName());
cuid = p.moveuid(ms, folder.getFullName()); else cuid = p.copyuid(ms, folder.getFullName());