|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectflux.notification.MailProtocol
public class MailProtocol
An enumeration of supported email protocols.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final MailProtocol IMAP
public static final MailProtocol IMAPS
public static final MailProtocol POP3
public static final MailProtocol POP3S
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |