EmailImapConnection

Inheritance: java.lang.Object, com.groupdocs.parser.options.EmailConnection

public final class EmailImapConnection extends EmailConnection

Represents the email connection information for IMAP protocol.

Constructors

Constructor Description
EmailImapConnection(String host, int port, String userName, String password) Initializes a new instance of the EmailImapConnection class.

Methods

Method Description
getHost() Gets the host name.
getPort() Gets the port number.

EmailImapConnection(String host, int port, String userName, String password)

public EmailImapConnection(String host, int port, String userName, String password)

Initializes a new instance of the EmailImapConnection 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.