|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UIDFolder
Nested Class Summary | |
---|---|
static class |
UIDFolder.FetchProfileItem
Special profile item used for fetching UID information. |
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)
Retrieve a message using the UID rather than the message sequence number. |
Message[] |
getMessagesByUID(long[] ids)
Retrieve a set of messages by explicit UIDs. |
Message[] |
getMessagesByUID(long start,
long end)
Get a series of messages using a UID range. |
long |
getUID(Message message)
Retrieve the UID for a message from this Folder. |
long |
getUIDValidity()
Get the UID validity value for this Folder. |
Field Detail |
---|
static final long LASTUID
end
parameter to
Folder.getMessages(int, int)
to indicate the last message in this folder.
Method Detail |
---|
long getUIDValidity() throws MessagingException
MessagingException
Message getMessageByUID(long uid) throws MessagingException
uid
- The target UID.
MessagingException
Message[] getMessagesByUID(long start, long end) throws MessagingException
start
- The start of the UID range.end
- The end of the UID range. The special value
LASTUID can be used to request all messages up
to the last UID.
MessagingException
Message[] getMessagesByUID(long[] ids) throws MessagingException
ids
- An array of UID values to be retrieved.
MessagingException
long getUID(Message message) throws MessagingException
message
- The target message.
MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |