|
||||||||||
| 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(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(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(Message[] msgs,
Utility.Condition cond)
public static UIDSet[] toUIDSet(Message[] msgs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||