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
Store
connect
in class Store
AuthenticationException
MessagingException
public Folder getDefaultFolder()
Store
getDefaultFolder
in class Store
public Folder getFolder(java.lang.String name)
public void close() throws MessagingException
Store
close
in class Store
MessagingException