gnu.mail.providers.pop3
Class POP3Store
public final class POP3Store
The storage class implementing the POP3 mail protocol.
void | close() - Closes the connection.
|
Folder | getDefaultFolder() - Returns the root folder.
|
Folder | getFolder(String s) - Returns the folder with the specified name.
|
Folder | getFolder(URLName urlname) - Returns the folder whose name is the file part of the specified URLName.
|
protected TrustManager | getTrustManager() - Returns a trust manager used for TLS negotiation.
|
boolean | isConnected() - Issues a NOOP to the POP server to determine whether the connection
is still alive.
|
protected boolean | protocolConnect(String host, int port, String username, String password) - Connects to the POP3 server and authenticates with the specified
parameters.
|
addFolderListener , addStoreListener , getDefaultFolder , getFolder , getFolder , getPersonalNamespaces , getSharedNamespaces , getUserNamespaces , notifyFolderListeners , notifyFolderRenamedListeners , notifyStoreListeners , removeFolderListener , removeStoreListener |
addConnectionListener , close , connect , connect , connect , connect , getURLName , isConnected , notifyConnectionListeners , protocolConnect , queueEvent , removeConnectionListener , setConnected , setURLName , toString |
POP3Store
public POP3Store(Session session,
URLName urlname)
Constructor.
getTrustManager
protected TrustManager getTrustManager()
throws MessagingException
Returns a trust manager used for TLS negotiation.
isConnected
public boolean isConnected()
Issues a NOOP to the POP server to determine whether the connection
is still alive.
- isConnected in interface Service
protocolConnect
protected boolean protocolConnect(String host,
int port,
String username,
String password)
throws MessagingException
Connects to the POP3 server and authenticates with the specified
parameters.
- protocolConnect in interface Service
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved