|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.Folder org.apache.geronimo.javamail.store.pop3.POP3Folder org.apache.geronimo.javamail.store.pop3.POP3RootFolder
public class POP3RootFolder
An POP3 folder instance for the root of POP3 folder tree. This has some of the folder operations disabled.
Field Summary | |
---|---|
protected Folder |
inbox
|
Fields inherited from class org.apache.geronimo.javamail.store.pop3.POP3Folder |
---|
exists, folderType, fullName, isFolderOpen, mode, msgCount |
Fields inherited from class javax.mail.Folder |
---|
HOLDS_FOLDERS, HOLDS_MESSAGES, READ_ONLY, READ_WRITE, store |
Constructor Summary | |
---|---|
POP3RootFolder(POP3Store store)
Create a default POP3RootFolder attached to a specific Store instance. |
Method Summary | |
---|---|
Folder |
getFolder(String name)
Get a folder of a given name from the root folder. |
protected Folder |
getInbox()
Retrieve the INBOX folder from the root. |
Folder |
getParent()
Get the parent. |
char |
getSeparator()
We have a separator because the root folder is "special". |
boolean |
isOpen()
Override for the isOpen method. |
Folder[] |
list(String pattern)
Retrieve a list of folders that match a pattern. |
void |
open(boolean expunge)
|
void |
open(int mode)
|
Methods inherited from class org.apache.geronimo.javamail.store.pop3.POP3Folder |
---|
appendMessages, cleanupFolder, close, create, delete, exists, expunge, expungeDeletedMessages, fetch, getConnection, getFullName, getMessage, getMessageCount, getMode, getName, getPermanentFlags, getType, getUID, hasNewMessages, notifyMessageChangedListeners, releaseConnection, renameTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Folder inbox
Constructor Detail |
---|
public POP3RootFolder(POP3Store store)
store
- The Store instance this is the root for.Method Detail |
---|
public Folder getParent()
getParent
in class POP3Folder
public char getSeparator() throws MessagingException
getSeparator
in class POP3Folder
MessagingException
public Folder[] list(String pattern) throws MessagingException
list
in class POP3Folder
pattern
- The match pattern.
MessagingException
public Folder getFolder(String name) throws MessagingException
getFolder
in class POP3Folder
name
- The folder name (which must be "INBOX".
MessagingException
public boolean isOpen()
isOpen
in class POP3Folder
public void open(int mode) throws MessagingException
open
in class POP3Folder
MessagingException
Folder.open(int)
public void open(boolean expunge) throws MessagingException
MessagingException
protected Folder getInbox() throws MessagingException
MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |