public class POP3Store extends Store
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROOT |
connection, session, socketFactory| Modifier | Constructor and Description |
|---|---|
protected |
POP3Store(MailSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this store and terminate its connection.
|
void |
connect()
A generic connect method that takes no parameters.
|
Folder |
getDefaultFolder()
Returns a Folder object that represents the 'root' of the default namespace presented to the user by the Store.
|
Folder |
getFolder(java.lang.String name)
Only the name "INBOX" is supported.
|
public static final java.lang.String ROOT
protected POP3Store(MailSession session)
public void connect()
throws AuthenticationException,
MessagingException
Storeconnect in class StoreAuthenticationExceptionMessagingExceptionpublic Folder getDefaultFolder()
StoregetDefaultFolder in class Storepublic Folder getFolder(java.lang.String name)
public void close()
throws MessagingException
Storeclose in class StoreMessagingException