java.lang.Object | +--javax.mail.Service | +--javax.mail.Store | +--gnu.mail.providers.pop3.POP3Store
POP3Store(Session session, URLName urlname) Constructor. |
void | close() Closes the connection. |
Returns the root folder. | |
getFolder(String s) Returns the folder with the specified name. | |
Returns the folder whose name is the file part of the specified URLName. | |
boolean | protocolConnect(String host, int port, String username, String password) Connects to the POP3 server and authenticates with the specified parameters. |
public POP3Store(Session session, URLName urlname)
public void close()
public Folder getDefaultFolder()
public Folder getFolder(String s)
public Folder getFolder(URLName urlname)
protected boolean protocolConnect(String host, int port, String username, String password)