|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.mail.Folder
com.sun.mail.imap.IMAPFolder
com.sun.mail.imap.DefaultFolder
public class DefaultFolder
This class
| 嵌套类摘要 |
|---|
| 从类 com.sun.mail.imap.IMAPFolder 继承的嵌套类/接口 |
|---|
IMAPFolder.FetchProfileItem, IMAPFolder.ProtocolCommand |
| 字段摘要 |
|---|
| 从类 com.sun.mail.imap.IMAPFolder 继承的字段 |
|---|
attributes, availableFlags, exists, fullName, isNamespace, messageCache, messageCacheLock, name, permanentFlags, protocol, separator, type, uidTable, UNKNOWN_SEPARATOR |
| 从类 javax.mail.Folder 继承的字段 |
|---|
HOLDS_FOLDERS, HOLDS_MESSAGES, mode, READ_ONLY, READ_WRITE, store |
| 从接口 javax.mail.UIDFolder 继承的字段 |
|---|
LASTUID |
| 构造方法摘要 | |
|---|---|
protected |
DefaultFolder(IMAPStore store)
|
| 方法摘要 | |
|---|---|
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(String name)
Get the named subfolder. |
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(String pattern)
List all subfolders matching the specified pattern. |
Folder[] |
listSubscribed(String pattern)
List all subscribed subfolders matching the specified pattern. |
boolean |
renameTo(Folder f)
Rename this folder. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
protected DefaultFolder(IMAPStore store)
| 方法详细信息 |
|---|
public String getName()
IMAPFolder 复制的描述
IMAPFolder 中的 getNamepublic Folder getParent()
IMAPFolder 复制的描述
IMAPFolder 中的 getParent
public Folder[] list(String pattern)
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 listpattern - the match pattern
FolderNotFoundException - if this folder does
not exist.
MessagingExceptionFolder.listSubscribed(java.lang.String)
public Folder[] listSubscribed(String pattern)
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 listSubscribedpattern - the match pattern
FolderNotFoundException - if this folder does
not exist.
MessagingExceptionFolder.list(java.lang.String)
public boolean hasNewMessages()
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 hasNewMessagesFolderNotFoundException - if this folder does
not exist.
MessagingException
public Folder getFolder(String name)
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 getFoldername - name of the Folder
MessagingException
public boolean delete(boolean recurse)
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 deleteFolderNotFoundException - if this folder does
not exist
MessagingExceptionFolderEvent
public boolean renameTo(Folder f)
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 renameTof - a folder representing the new name for this Folder
FolderNotFoundException - if this folder does
not exist
MessagingExceptionFolderEvent
public void appendMessages(Message[] msgs)
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 appendMessagesmsgs - array of Messages to be appended
FolderNotFoundException - if this folder does
not exist.
MessagingException - if the append failed.
public Message[] expunge()
throws MessagingException
IMAPFolder 复制的描述
IMAPFolder 中的 expungeFolderNotFoundException - if this folder does not
exist
MessagingExceptionMessage.isExpunged(),
MessageCountEvent
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||