public class MessageSet extends Object
| Constructor and Description |
|---|
MessageSet() |
MessageSet(int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
static MessageSet[] |
createMessageSets(int[] msgs)
Convert an array of integers into an array of MessageSets
|
int |
size()
Count the total number of elements in a MessageSet
|
static int |
size(MessageSet[] msgsets) |
static String |
toString(MessageSet[] msgsets)
Convert an array of MessageSets into an IMAP sequence range
|
public int size()
public static MessageSet[] createMessageSets(int[] msgs)
msgs - the messagespublic static String toString(MessageSet[] msgsets)
msgsets - the MessageSetspublic static int size(MessageSet[] msgsets)
Copyright © 2017 JBoss by Red Hat. All rights reserved.