gnu.mail.providers.maildir
public final class MaildirFolder extends Folder
| Constructor Summary | |
|---|---|
| protected | MaildirFolder(Store store, String filename, boolean root, boolean inbox)
Constructor. |
| protected | MaildirFolder(Store store, String filename)
Constructor. |
| Method Summary | |
|---|---|
| void | appendMessages(Message[] m)
Appends messages to this folder.
|
| void | close(boolean expunge)
Closes this folder. |
| boolean | create(int type)
Creates this folder in the store. |
| boolean | delete(boolean recurse)
Deletes this folder. |
| boolean | exists()
Indicates whether this folder exists. |
| Message[] | expunge()
Expunges this folder.
|
| Folder | getFolder(String filename)
Returns the subfolder of this folder with the specified name. |
| String | getFullName()
Returns the full name of this folder. |
| Message | getMessage(int msgnum)
Returns the specified message number from this folder. |
| int | getMessageCount()
Returns the number of messages in this folder. |
| Message[] | getMessages()
Returns the messages in this folder. |
| String | getName()
Returns the name of this folder. |
| int | getNewMessageCount()
Returns the number of new messages in this folder. |
| Folder | getParent()
Returns the parent folder. |
| Flags | getPermanentFlags()
Returns the permanent flags for this folder. |
| char | getSeparator()
Returns the separator character. |
| int | getType()
Returns the type of this folder. |
| URLName | getURLName()
Return a URLName representing this folder. |
| boolean | hasNewMessages()
Indicates whether this folder contains new messages. |
| boolean | isOpen()
Indicates whether this folder is open. |
| Folder[] | list()
Returns the subfolders of this folder. |
| Folder[] | list(String pattern)
Returns the subfolders of this folder matching the specified pattern. |
| void | open(int mode)
Opens this folder.
|
| boolean | renameTo(Folder folder)
Renames this folder. |
Parameters: m an array of messages to be appended
Parameters: expunge if the folder is to be expunged before it is closed
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred