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