javax.mail
Interface UIDFolder


public interface UIDFolder

Version:
$Rev: 421852 $ $Date: 2006-07-14 03:02:19 -0700 (Fri, 14 Jul 2006) $

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

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

long getUIDValidity()
                    throws MessagingException
Throws:
MessagingException

getMessageByUID

Message getMessageByUID(long uid)
                        throws MessagingException
Throws:
MessagingException

getMessagesByUID

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

getMessagesByUID

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

getUID

long getUID(Message message)
            throws MessagingException
Throws:
MessagingException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.