Uses of Class
com.sun.mail.imap.protocol.MessageSet
Packages that use MessageSet
Package
Description
An IMAP protocol provider for the Jakarta Mail API
that provides access to an IMAP message store.
This package includes internal IMAP support classes and
SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
-
Uses of MessageSet in com.sun.mail.gimap.protocol
Methods in com.sun.mail.gimap.protocol with parameters of type MessageSetModifier and TypeMethodDescriptionvoid
GmailProtocol.storeLabels
(MessageSet[] msgsets, String[] labels, boolean set) Set the specified labels on this message. -
Uses of MessageSet in com.sun.mail.imap
Methods in com.sun.mail.imap that return MessageSetModifier and TypeMethodDescriptionstatic 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 MessageSetModifier and TypeMethodDescriptionstatic 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 MessageSetModifier and TypeMethodDescriptionvoid
IMAPProtocol.copy
(MessageSet[] msgsets, String mbox) COPY command.IMAPProtocol.copyuid
(MessageSet[] msgsets, String mbox) COPY command, return uid from COPYUID response code.Response[]
IMAPProtocol.fetch
(MessageSet[] msgsets, String what) void
IMAPProtocol.move
(MessageSet[] msgsets, String mbox) MOVE command.IMAPProtocol.moveuid
(MessageSet[] msgsets, 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 String
MessageSet.toString
(MessageSet[] msgsets) Convert an array of MessageSets into an IMAP sequence range