org.apache.james.mailboxmanager.util
Class UidToMsnConverter
java.lang.Object
org.apache.james.mailboxmanager.util.UidToMsnConverter
- All Implemented Interfaces:
- MailboxListener
public class UidToMsnConverter
- extends java.lang.Object
- implements MailboxListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
msnToUid
protected java.util.SortedMap msnToUid
uidToMsn
protected java.util.SortedMap uidToMsn
highestUid
protected long highestUid
highestMsn
protected int highestMsn
UidToMsnConverter
public UidToMsnConverter(java.util.Collection uids)
getUid
public long getUid(int msn)
getMsn
public int getMsn(long uid)
add
protected void add(int msn,
long uid)
expunge
public void expunge(long uid)
remove
protected void remove(int msn,
long uid)
add
public void add(long uid)
event
public void event(MailboxListener.Event event)
- Specified by:
event
in interface MailboxListener
- See Also:
MailboxListener.event(org.apache.james.mailboxmanager.MailboxListener.Event)
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.