Uses of Class
com.sun.mail.imap.protocol.MessageSet
-
Packages that use MessageSet Package Description com.sun.mail.imap An IMAP protocol provider for the Jakarta Mail API that provides access to an IMAP message store.com.sun.mail.imap.protocol This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS. -
-
Uses of MessageSet in com.sun.mail.imap
Methods in com.sun.mail.imap that return MessageSet Modifier and Type Method Description static MessageSet[]
Utility. toMessageSet(Message[] msgs, Utility.Condition cond)
Run thru the given array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages.static MessageSet[]
Utility. toMessageSetSorted(Message[] msgs, Utility.Condition cond)
Sort (a copy of) the given array of messages and then run thru the sorted array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages. -
Uses of MessageSet in com.sun.mail.imap.protocol
Methods in com.sun.mail.imap.protocol that return MessageSet Modifier and Type Method Description static MessageSet[]
MessageSet. createMessageSets(int[] msgs)
Convert an array of integers into an array of MessageSetsMethods in com.sun.mail.imap.protocol with parameters of type MessageSet Modifier and Type Method Description void
IMAPProtocol. copy(MessageSet[] msgsets, java.lang.String mbox)
COPY command.CopyUID
IMAPProtocol. copyuid(MessageSet[] msgsets, java.lang.String mbox)
COPY command, return uid from COPYUID response code.Response[]
IMAPProtocol. fetch(MessageSet[] msgsets, java.lang.String what)
void
IMAPProtocol. move(MessageSet[] msgsets, java.lang.String mbox)
MOVE command.CopyUID
IMAPProtocol. moveuid(MessageSet[] msgsets, java.lang.String mbox)
MOVE Command, return uid from COPYUID response code.int[]
IMAPProtocol. search(MessageSet[] msgsets, SearchTerm term)
Issue the given search criterion on the specified message sets.static int
MessageSet. size(MessageSet[] msgsets)
void
IMAPProtocol. storeFlags(MessageSet[] msgsets, Flags flags, boolean set)
static java.lang.String
MessageSet. toString(MessageSet[] msgsets)
Convert an array of MessageSets into an IMAP sequence range
-