javax.mail
Interface UIDFolder


public interface UIDFolder

Version:
$Rev: 126350 $ $Date: 2005-01-25 07:35:47 +0100 (Tue, 25 Jan 2005) $

Nested Class Summary
static class UIDFolder.FetchProfileItem
           
 
Field Summary
static long LASTUID
          A special value than can be passed as the end parameter to Folder.getMessages(int, int) to indicate the last message in this folder.
 
Method Summary
 Message getMessageByUID(long uid)
           
 Message[] getMessagesByUID(long[] ids)
           
 Message[] getMessagesByUID(long start, long end)
           
 long getUID(Message message)
           
 long getUIDValidity()
           
 

Field Detail

LASTUID

public static final long LASTUID
A special value than can be passed as the end parameter to Folder.getMessages(int, int) to indicate the last message in this folder.

See Also:
Constant Field Values
Method Detail

getUIDValidity

public long getUIDValidity()
                    throws MessagingException
Throws:
MessagingException

getMessageByUID

public Message getMessageByUID(long uid)
                        throws MessagingException
Throws:
MessagingException

getMessagesByUID

public Message[] getMessagesByUID(long start,
                                  long end)
                           throws MessagingException
Throws:
MessagingException

getMessagesByUID

public Message[] getMessagesByUID(long[] ids)
                           throws MessagingException
Throws:
MessagingException

getUID

public long getUID(Message message)
            throws MessagingException
Throws:
MessagingException


Copyright © {inceptionYear}-2007 null. All Rights Reserved.