public enum SmtpSecure extends Enum<SmtpSecure>
| Modifier and Type | Method and Description |
|---|---|
static SmtpSecure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmtpSecure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmtpSecure NONE
public static final SmtpSecure SSL
public static final SmtpSecure TLS
public static SmtpSecure[] values()
for (SmtpSecure c : SmtpSecure.values()) System.out.println(c);
public static SmtpSecure valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014 eXo Platform SAS. All Rights Reserved.