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