gnu.mail.providers.pop3

Class POP3Store

public final class POP3Store extends Store

The storage class implementing the POP3 mail protocol.

Version: 1.3

Author: Chris Burdess Nic Ferrier

Constructor Summary
POP3Store(Session session, URLName urlname)
Constructor.
Method Summary
voidclose()
Closes the connection.
FoldergetDefaultFolder()
Returns the root folder.
FoldergetFolder(String s)
Returns the folder with the specified name.
FoldergetFolder(URLName urlname)
Returns the folder whose name is the file part of the specified URLName.
protected TrustManagergetTrustManager()
Returns a trust manager used for TLS negotiation.
booleanisConnected()
Issues a NOOP to the POP server to determine whether the connection is still alive.
protected booleanprotocolConnect(String host, int port, String username, String password)
Connects to the POP3 server and authenticates with the specified parameters.

Constructor Detail

POP3Store

public POP3Store(Session session, URLName urlname)
Constructor.

Method Detail

close

public void close()
Closes the connection.

getDefaultFolder

public Folder getDefaultFolder()
Returns the root folder.

getFolder

public Folder getFolder(String s)
Returns the folder with the specified name.

getFolder

public Folder getFolder(URLName urlname)
Returns the folder whose name is the file part of the specified URLName.

getTrustManager

protected TrustManager getTrustManager()
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.

protocolConnect

protected boolean protocolConnect(String host, int port, String username, String password)
Connects to the POP3 server and authenticates with the specified parameters.
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved