public final class EmailImapConnection extends EmailConnection
Constructor and Description |
---|
EmailImapConnection(String host,
int port,
String userName,
String password)
Initializes a new instance of the
EmailImapConnection class. |
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Gets the host name.
|
int |
getPort()
Gets the port number.
|
getPassword, getUserName
public EmailImapConnection(String host, int port, String userName, String password)
EmailImapConnection
class.host
- The host name.port
- The port number.userName
- The user name.password
- The password.public String getHost()
public int getPort()