org.apache.james.mailboxmanager
Interface MessageRange

All Known Implementing Classes:
MessageRangeImpl

public interface MessageRange

Used to define a range of messages by uid or msn, or a individual message by key or message object.
The type of the set should be defined by using an appropriate constructor.


Field Summary
static int TYPE_ALL
           
static int TYPE_UID
           
 
Method Summary
 int getType()
           
 long getUidFrom()
           
 long getUidTo()
           
 

Field Detail

TYPE_UID

static final int TYPE_UID
See Also:
Constant Field Values

TYPE_ALL

static final int TYPE_ALL
See Also:
Constant Field Values
Method Detail

getType

int getType()

getUidFrom

long getUidFrom()

getUidTo

long getUidTo()


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.