EmailPopConnection
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.parser.options.EmailConnection
public final class EmailPopConnection extends EmailConnection
Represents the email connection information for POP protocol.
Constructors
Constructor | Description |
---|---|
EmailPopConnection(String host, int port, String userName, String password) | Initializes a new instance of the EmailPopConnection class. |
Methods
Method | Description |
---|---|
getHost() | Gets the host name. |
getPort() | Gets the port number. |
EmailPopConnection(String host, int port, String userName, String password)
public EmailPopConnection(String host, int port, String userName, String password)
Initializes a new instance of the EmailPopConnection class.
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name. |
port | int | The port number. |
userName | java.lang.String | The user name. |
password | java.lang.String | The password. |
getHost()
public String getHost()
Gets the host name.
Returns: java.lang.String - A string value that represents the host name.
getPort()
public int getPort()
Gets the port number.
Returns: int - An integer value that represents the port number.