public class MailProtocol
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MailProtocol |
IMAP
The IMAP email protocol.
|
static MailProtocol |
IMAPS
The IMAPS email protocol.
|
static MailProtocol |
POP3
The POP3 email protocol.
|
static MailProtocol |
POP3S
The POP3S email protocol.
|
Modifier and Type | Method and Description |
---|---|
static MailProtocol |
getInstance(java.lang.String enumeration)
Returns a pre-existing instance of this enumeration from the specified
name.
|
java.lang.String |
toString()
Returns the name of the specific mail protocol enumeration item.
|
public static final MailProtocol IMAP
public static final MailProtocol IMAPS
public static final MailProtocol POP3
public static final MailProtocol POP3S
public static MailProtocol getInstance(java.lang.String enumeration)
enumeration
- The name of a pre-existing instance of this
enumeration.java.lang.IllegalArgumentException
- If the name of the specified enumeration
instance does not exist.public java.lang.String toString()
toString
in class java.lang.Object
© 2000-2025 Flux Corporation. All rights reserved.