This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.imap.protocol
class MessageSet

com.sun.mail.imap.protocol.MessageSet

public class MessageSet
extends Object

This class holds the 'start' and 'end' for a range of messages


Field Summary
 int end
          
 int start
          
 
Constructor Summary

          
MessageSet(int start, int end)

          
 
Method Summary
static MessageSet[]
createMessageSets(int[] msgs)

          
 int

          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
 

Field Detail

end

public int end

start

public int start
Constructor Detail

MessageSet

public MessageSet()

MessageSet

public MessageSet(int start,
                  int end)
Parameters:
start
end
Method Detail

createMessageSets

public static MessageSet[] createMessageSets(int[] msgs)
Parameters:
msgs

size

public int size()
Count the total number of elements in a MessageSet


size

public static int size(MessageSet[] msgsets)
Parameters:
msgsets

toString

public static String toString(MessageSet[] msgsets)
Convert an array of MessageSets into an IMAP sequence range

Parameters:
msgsets


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.