/** * 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); }
public void storeFlags(MessageSet[] msgsets, Flags flags, boolean set) throws ProtocolException { storeFlags(MessageSet.toString(msgsets), flags, set); }
/** * 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); }
/** * 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); }
/** * 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); }
public Response[] fetch(MessageSet[] msgsets, String what) throws ProtocolException { return fetch(MessageSet.toString(msgsets), what, 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); }
/** * 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); }
public Response[] fetch(MessageSet[] msgsets, String what) throws ProtocolException { return fetch(MessageSet.toString(msgsets), what, false); }
public void storeFlags(MessageSet[] msgsets, Flags flags, boolean set) throws ProtocolException { storeFlags(MessageSet.toString(msgsets), flags, set); }
/** * 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); }
/** * Issue the given search criterion on the specified message sets. * Returns array of matching sequence numbers. An empty array * is returned if no matches are found. * * @param msgsets array of MessageSets * @param term SearchTerm * @return array of matching sequence numbers. * @exception ProtocolException for protocol failures * @exception SearchException for search failures */ public int[] search(MessageSet[] msgsets, SearchTerm term) throws ProtocolException, SearchException { return search(MessageSet.toString(msgsets), term); }
/** * Issue the given search criterion on the specified message sets. * Returns array of matching sequence numbers. An empty array * is returned if no matches are found. * * @param msgsets array of MessageSets * @param term SearchTerm * @return array of matching sequence numbers. * @exception ProtocolException for protocol failures * @exception SearchException for search failures */ public int[] search(MessageSet[] msgsets, SearchTerm term) throws ProtocolException, SearchException { return search(MessageSet.toString(msgsets), term); }
/** * COPY command. */ public void copy(MessageSet[] msgsets, String mbox) throws ProtocolException { copy(MessageSet.toString(msgsets), mbox); }
/** * 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); }
public void storeFlags(MessageSet[] msgsets, Flags flags, boolean set) throws ProtocolException { storeFlags(MessageSet.toString(msgsets), flags, set); }
public void storeFlags(MessageSet[] msgsets, Flags flags, boolean set) throws ProtocolException { storeFlags(MessageSet.toString(msgsets), flags, set); }
/** * 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); }