com.sun.mail.imap.protocol
Class MessageSet
java.lang.Object
com.sun.mail.imap.protocol.MessageSet
public class MessageSet
- extends Object
This class holds the 'start' and 'end' for a range of messages
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
start
public int start
end
public int end
MessageSet
public MessageSet()
MessageSet
public MessageSet(int start,
int end)
size
public int size()
- Count the total number of elements in a MessageSet
createMessageSets
public static MessageSet[] createMessageSets(int[] msgs)
toString
public static String toString(MessageSet[] msgsets)
- Convert an array of MessageSets into an IMAP sequence range
size
public static int size(MessageSet[] msgsets)
Copyright © 2012 Oracle. All Rights Reserved.