java.lang.Object | +--javax.mail.Service | +--javax.mail.Store | +--gnu.mail.providers.nntp.NNTPStore
NNTPStore(Session session, URLName url) Constructor. |
void | close() Close the connection. |
Returns the folder representing the "root" namespace. | |
getFolder(String name) Returns a folder by name. | |
Returns the folder whose name corresponds to the file part of the specified URL. | |
boolean | protocolConnect(String host, int port, String username, String password) Performs the protocol connection. |
public NNTPStore(Session session, URLName url)
public void close()
public Folder getDefaultFolder()
public Folder getFolder(String name)
public Folder getFolder(URLName url)
file
part
of the specified URL.
protected boolean protocolConnect(String host, int port, String username, String password)