protected static enum AbstractConfigParser.Encrypt extends Enum<AbstractConfigParser.Encrypt>
| Enum Constant and Description |
|---|
NONE
不加密
|
SSL
SSL 加密方式
|
TLS
TLS 加密方式
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractConfigParser.Encrypt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractConfigParser.Encrypt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractConfigParser.Encrypt NONE
public static final AbstractConfigParser.Encrypt SSL
public static final AbstractConfigParser.Encrypt TLS
public static AbstractConfigParser.Encrypt[] values()
for (AbstractConfigParser.Encrypt c : AbstractConfigParser.Encrypt.values()) System.out.println(c);
public static AbstractConfigParser.Encrypt 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 © 2018. All rights reserved.