|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.Folder
com.sun.mail.imap.IMAPFolder
com.sun.mail.imap.DefaultFolder
de.saly.javamail.mock2.IMAPDefaultMockFolder
public class IMAPDefaultMockFolder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.mail.imap.IMAPFolder |
|---|
com.sun.mail.imap.IMAPFolder.FetchProfileItem, com.sun.mail.imap.IMAPFolder.ProtocolCommand |
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
|
| Fields inherited from class com.sun.mail.imap.IMAPFolder |
|---|
attributes, availableFlags, exists, fullName, isNamespace, messageCache, messageCacheLock, name, permanentFlags, protocol, separator, type, uidTable, UNKNOWN_SEPARATOR |
| Fields inherited from class javax.mail.Folder |
|---|
HOLDS_FOLDERS, HOLDS_MESSAGES, mode, READ_ONLY, READ_WRITE |
| Fields inherited from interface javax.mail.UIDFolder |
|---|
LASTUID |
| Constructor Summary | |
|---|---|
protected |
IMAPDefaultMockFolder(IMAPMockStore store,
MockMailbox mailbox)
|
| Method Summary | |
|---|---|
boolean |
create(int type)
|
boolean |
exists()
|
javax.mail.Folder |
getFolder(String name)
|
int |
getType()
|
javax.mail.Folder[] |
list(String pattern)
|
javax.mail.Folder[] |
listSubscribed(String pattern)
|
| Methods inherited from class com.sun.mail.imap.DefaultFolder |
|---|
appendMessages, delete, expunge, getName, getParent, hasNewMessages, renameTo |
| Methods inherited from class com.sun.mail.imap.IMAPFolder |
|---|
addACL, addMessageCountListener, addMessages, addRights, appendUIDMessages, checkClosed, checkExists, checkOpened, checkRange, close, copyMessages, copyUIDMessages, doCommand, doCommandIgnoreFailure, doOptionalCommand, doProtocolCommand, expunge, fetch, forceClose, getACL, getAttributes, getDeletedMessageCount, getEnvelopeCommand, getFullName, getHighestModSeq, getMessage, getMessageBySeqNumber, getMessageByUID, getMessageCount, getMessagesByUID, getMessagesByUID, getMessagesByUIDChangedSince, getNewMessageCount, getPermanentFlags, getProtocol, getQuota, getSeparator, getSortedMessages, getSortedMessages, getStatusItem, getStoreProtocol, getUID, getUIDNext, getUIDValidity, getUnreadMessageCount, handleResponse, id, idle, idle, isOpen, isSubscribed, keepConnectionAlive, listRights, myRights, newIMAPMessage, open, open, releaseProtocol, releaseStoreProtocol, removeACL, removeRights, search, search, setFlags, setFlags, setFlags, setQuota, setSubscribed, throwClosedException |
| Methods inherited from class javax.mail.Folder |
|---|
addConnectionListener, addFolderListener, addMessageChangedListener, finalize, getMessages, getMessages, getMessages, getMode, getStore, getURLName, list, listSubscribed, notifyConnectionListeners, notifyFolderListeners, notifyFolderRenamedListeners, notifyMessageAddedListeners, notifyMessageChangedListeners, notifyMessageRemovedListeners, removeConnectionListener, removeFolderListener, removeMessageChangedListener, removeMessageCountListener, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
protected IMAPDefaultMockFolder(IMAPMockStore store,
MockMailbox mailbox)
| Method Detail |
|---|
public boolean create(int type)
throws javax.mail.MessagingException
create in class com.sun.mail.imap.IMAPFolderjavax.mail.MessagingException
public boolean exists()
throws javax.mail.MessagingException
exists in class com.sun.mail.imap.IMAPFolderjavax.mail.MessagingException
public javax.mail.Folder getFolder(String name)
throws javax.mail.MessagingException
getFolder in class com.sun.mail.imap.DefaultFolderjavax.mail.MessagingException
public int getType()
throws javax.mail.MessagingException
getType in class com.sun.mail.imap.IMAPFolderjavax.mail.MessagingException
public javax.mail.Folder[] list(String pattern)
throws javax.mail.MessagingException
list in class com.sun.mail.imap.DefaultFolderjavax.mail.MessagingException
public javax.mail.Folder[] listSubscribed(String pattern)
throws javax.mail.MessagingException
listSubscribed in class com.sun.mail.imap.DefaultFolderjavax.mail.MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||