public final class Utility
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Utility.Condition
This interface defines the test to be executed in
toMessageSet() . |
Modifier and Type | Method and Description |
---|---|
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.
|
public static MessageSet[] toMessageSet(Message[] msgs, Utility.Condition cond)
public static UIDSet[] toUIDSet(Message[] msgs)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"