| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendMessages(Message[]
array of Messages to be appended msgs)Overrides com. |
| public boolean | delete(boolean
also delete subfolders? recurse)Overrides com. |
| public Message[] | |
| public Folder | getFolder(String
name of the Folder name)Overrides com. |
| public synchronized String | |
| public Folder | |
| public boolean | hasNewMessages()
Overrides com. |
| public synchronized Folder[] | list(final String
the match pattern pattern)Overrides com. |
| public synchronized Folder[] | listSubscribed(final String
the match pattern pattern)Overrides com. |
| public boolean | renameTo(Folder
a folder representing the new name for this Folder f)Overrides com. |
| DefaultFolder | back to summary |
|---|---|
| protected DefaultFolder(IMAPStore store) | |
| appendMessages | back to summary |
|---|---|
| public void appendMessages(Message[] msgs) throws MessagingException Overrides com. Doc from com. Append the given messages into this folder.
| |
| delete | back to summary |
|---|---|
| public boolean delete(boolean recurse) throws MessagingException Overrides com. Doc from com. Delete this folder.
| |
| expunge | back to summary |
|---|---|
| public Message[] expunge() throws MessagingException Overrides com. Doc from com. Expunge all messages marked as DELETED.
| |
| getFolder | back to summary |
|---|---|
| public Folder getFolder(String name) throws MessagingException Overrides com. Doc from com. Get the named subfolder.
| |
| getName | back to summary |
|---|---|
| public synchronized String getName() Overrides com. Doc from com. Get the name of this folder.
| |
| getParent | back to summary |
|---|---|
| public Folder getParent() Overrides com. Doc from com. Get this folder's parent.
| |
| hasNewMessages | back to summary |
|---|---|
| public boolean hasNewMessages() throws MessagingException Overrides com. Doc from com. Check whether this folder has new messages.
| |
| list | back to summary |
|---|---|
| public synchronized Folder[] list(final String pattern) throws MessagingException Overrides com. Doc from com. List all subfolders matching the specified pattern.
| |
| listSubscribed | back to summary |
|---|---|
| public synchronized Folder[] listSubscribed(final String pattern) throws MessagingException Overrides com. Doc from com. List all subscribed subfolders matching the specified pattern.
| |
| renameTo | back to summary |
|---|---|
| public boolean renameTo(Folder f) throws MessagingException Overrides com. Doc from com. Rename this folder.
| |