Enum Pop3Reader.CryptMethod
- java.lang.Object
-
- java.lang.Enum<Pop3Reader.CryptMethod>
-
- com.openindex.openestate.tool.mail.io.Pop3Reader.CryptMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<Pop3Reader.CryptMethod>
- Enclosing class:
- Pop3Reader
public static enum Pop3Reader.CryptMethod extends Enum<Pop3Reader.CryptMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_ENCRYPTION
POP3S
STARTTLS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
NO_ENCRYPTION
public static final Pop3Reader.CryptMethod NO_ENCRYPTION
-
STARTTLS
public static final Pop3Reader.CryptMethod STARTTLS
-
POP3S
public static final Pop3Reader.CryptMethod POP3S
-
-
Method Detail
-
values
public static Pop3Reader.CryptMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Pop3Reader.CryptMethod c : Pop3Reader.CryptMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pop3Reader.CryptMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-