|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mail.imap.Utility
public final class Utility
Holder for some static utility methods.
Nested Class Summary | |
---|---|
static interface |
Utility.Condition
This interface defines the test to be executed in toMessageSet() . |
Method Summary | |
---|---|
static MessageSet[] |
toMessageSet(javax.mail.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 UIDSet[] |
toUIDSet(javax.mail.Message[] msgs)
Return UIDSets for the messages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MessageSet[] toMessageSet(javax.mail.Message[] msgs, Utility.Condition cond)
public static UIDSet[] toUIDSet(javax.mail.Message[] msgs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |