org.apache.james.mailboxmanager.impl
Class MessageRangeImpl

java.lang.Object
  extended by org.apache.james.mailboxmanager.impl.MessageRangeImpl
All Implemented Interfaces:
MessageRange

public class MessageRangeImpl
extends java.lang.Object
implements MessageRange


Field Summary
 
Fields inherited from interface org.apache.james.mailboxmanager.MessageRange
TYPE_ALL, TYPE_UID
 
Method Summary
static MessageRange all()
           
 int getType()
           
 long getUidFrom()
           
 long getUidTo()
           
static MessageRange oneUid(long uid)
           
 java.lang.String toString()
           
static MessageRange uidRange(long from, long to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getType

public int getType()
Specified by:
getType in interface MessageRange

getUidFrom

public long getUidFrom()
Specified by:
getUidFrom in interface MessageRange

getUidTo

public long getUidTo()
Specified by:
getUidTo in interface MessageRange

oneUid

public static MessageRange oneUid(long uid)

all

public static MessageRange all()

uidRange

public static MessageRange uidRange(long from,
                                    long to)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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