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