public static enum Smtp.Connection extends java.lang.Enum<Smtp.Connection>
| Modifier and Type | Method and Description |
|---|---|
static Smtp.Connection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Smtp.Connection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Smtp.Connection NO_AUTH
public static final Smtp.Connection TLS
public static final Smtp.Connection SSL
public static Smtp.Connection[] values()
for (Smtp.Connection c : Smtp.Connection.values()) System.out.println(c);
public static Smtp.Connection valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2013-2015 Wisdom Framework. All Rights Reserved.