javax.mail

Interface UIDFolder

public interface UIDFolder

Nested Class Summary
static classUIDFolder.FetchProfileItem
Field Summary
static longLASTUID
A special value than can be passed as the end parameter to Folder to indicate the last message in this folder.
Method Summary
abstract MessagegetMessageByUID(long uid)
abstract Message[]getMessagesByUID(long start, long end)
abstract Message[]getMessagesByUID(long[] ids)
abstract longgetUID(Message message)
abstract longgetUIDValidity()

Field Detail

LASTUID

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

Method Detail

getMessageByUID

public abstract Message getMessageByUID(long uid)

getMessagesByUID

public abstract Message[] getMessagesByUID(long start, long end)

getMessagesByUID

public abstract Message[] getMessagesByUID(long[] ids)

getUID

public abstract long getUID(Message message)

getUIDValidity

public abstract long getUIDValidity()