public class DefaultFolder extends IMAPFolder
IMAPFolder.FetchProfileItem, IMAPFolder.ProtocolCommand| Modifier and Type | Method and Description |
|---|---|
void |
appendMessages(Message[] msgs)
Append the given messages into this folder.
|
boolean |
delete(boolean recurse)
Delete this folder.
|
Message[] |
expunge()
Expunge all messages marked as DELETED.
|
Folder |
getFolder(java.lang.String name)
Get the named subfolder.
|
java.lang.String |
getName()
Get the name of this folder.
|
Folder |
getParent()
Get this folder's parent.
|
boolean |
hasNewMessages()
Check whether this folder has new messages.
|
Folder[] |
list(java.lang.String pattern)
List all subfolders matching the specified pattern.
|
Folder[] |
listSubscribed(java.lang.String pattern)
List all subscribed subfolders matching the specified pattern.
|
boolean |
renameTo(Folder f)
Rename this folder.
|
addACL, addMessageCountListener, addMessages, addRights, appendUIDMessages, close, copyMessages, create, doCommand, doCommandIgnoreFailure, doOptionalCommand, exists, expunge, fetch, forceClose, getACL, getAttributes, getDeletedMessageCount, getFullName, getMessage, getMessageByUID, getMessageCount, getMessagesByUID, getMessagesByUID, getNewMessageCount, getPermanentFlags, getQuota, getSeparator, getSortedMessages, getSortedMessages, getType, getUID, getUIDNext, getUIDValidity, getUnreadMessageCount, handleResponse, idle, idle, isOpen, isSubscribed, listRights, myRights, open, removeACL, removeRights, search, search, setFlags, setFlags, setFlags, setQuota, setSubscribedpublic java.lang.String getName()
IMAPFoldergetName in class IMAPFolderpublic Folder getParent()
IMAPFoldergetParent in class IMAPFolderpublic Folder[] list(java.lang.String pattern)
throws MessagingException
IMAPFolderlist in class IMAPFolderMessagingExceptionpublic Folder[] listSubscribed(java.lang.String pattern)
throws MessagingException
IMAPFolderlistSubscribed in class IMAPFolderMessagingExceptionpublic boolean hasNewMessages()
throws MessagingException
IMAPFolderhasNewMessages in class IMAPFolderMessagingExceptionpublic Folder getFolder(java.lang.String name)
throws MessagingException
IMAPFoldergetFolder in class IMAPFolderMessagingExceptionpublic boolean delete(boolean recurse)
throws MessagingException
IMAPFolderdelete in class IMAPFolderMessagingExceptionpublic boolean renameTo(Folder f)
throws MessagingException
IMAPFolderrenameTo in class IMAPFolderMessagingExceptionpublic void appendMessages(Message[] msgs)
throws MessagingException
IMAPFolderappendMessages in class IMAPFolderMessagingExceptionpublic Message[] expunge()
throws MessagingException
IMAPFolderexpunge in class IMAPFolderMessagingException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"