public static enum SmtpWriter.CryptMethod extends Enum<SmtpWriter.CryptMethod>
Enum Constant and Description |
---|
NO_ENCRYPTION |
SMTPS |
STARTTLS |
Modifier and Type | Method and Description |
---|---|
static SmtpWriter.CryptMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmtpWriter.CryptMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmtpWriter.CryptMethod NO_ENCRYPTION
public static final SmtpWriter.CryptMethod STARTTLS
public static final SmtpWriter.CryptMethod SMTPS
public static SmtpWriter.CryptMethod[] values()
for (SmtpWriter.CryptMethod c : SmtpWriter.CryptMethod.values()) System.out.println(c);
public static SmtpWriter.CryptMethod 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 © 2015 OpenEstate. All rights reserved.