public static enum AbstractMailClient.Security extends Enum<AbstractMailClient.Security>
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort() |
static AbstractMailClient.Security |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractMailClient.Security[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractMailClient.Security NONE
public static final AbstractMailClient.Security SSL
public static final AbstractMailClient.Security TLS
public static AbstractMailClient.Security[] values()
for (AbstractMailClient.Security c : AbstractMailClient.Security.values()) System.out.println(c);
public static AbstractMailClient.Security 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 nullpublic int getDefaultPort()
Copyright © 2015 Molindo GmbH. All Rights Reserved.