public enum ConfigTypeEnum extends Enum<ConfigTypeEnum>
| Enum Constant and Description |
|---|
JSON |
PROPERTIES |
XML |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static ConfigTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigTypeEnum PROPERTIES
public static final ConfigTypeEnum JSON
public static final ConfigTypeEnum XML
public final String value
public static ConfigTypeEnum[] values()
for (ConfigTypeEnum c : ConfigTypeEnum.values()) System.out.println(c);
public static ConfigTypeEnum 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 String getValue()
Copyright © 2016 jufeng. All rights reserved.