Package | Description |
---|---|
org.apache.james.mailbox.maildir | |
org.apache.james.mailbox.maildir.mail.model |
Modifier and Type | Method and Description |
---|---|
static MaildirMessageName |
MaildirMessageName.createUniqueName(MaildirFolder parentFolder,
long size)
|
MaildirMessageName |
MaildirFolder.delete(MailboxSession session,
long uid)
Retrieves the file belonging to the given uid, deletes it and updates
the uid list.
|
MaildirMessageName |
MaildirFolder.getMessageNameByUid(MailboxSession session,
Long uid)
Searches the uid list for a certain uid and returns the according
MaildirMessageName |
Modifier and Type | Method and Description |
---|---|
SortedMap<Long,MaildirMessageName> |
MaildirFolder.getRecentMessages(MailboxSession session)
Creates a map of recent messages.
|
SortedMap<Long,MaildirMessageName> |
MaildirFolder.getUidMap(MailboxSession session,
FilenameFilter filter,
int limit)
Reads all uids from the uid list file which match the given filter
and returns as many of them as a sorted map as the limit specifies.
|
SortedMap<Long,MaildirMessageName> |
MaildirFolder.getUidMap(MailboxSession session,
FilenameFilter filter,
long from,
long to) |
SortedMap<Long,MaildirMessageName> |
MaildirFolder.getUidMap(MailboxSession session,
long from,
long to)
Reads all uids between the two boundaries from the folder and returns them as
a sorted map together with their corresponding
MaildirMessageName s. |
Constructor and Description |
---|
MaildirMessage(Mailbox<Integer> mailbox,
long uid,
MaildirMessageName messageName) |
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.