public enum TomlVersion extends java.lang.Enum<TomlVersion>
Enum Constant and Description |
---|
HEAD
The head (development) specification of TOML.
|
LATEST
The latest stable specification of TOML.
|
V0_4_0
The 0.4.0 version of TOML.
|
V0_5_0
The 0.5.0 version of TOML.
|
Modifier and Type | Method and Description |
---|---|
static TomlVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TomlVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TomlVersion V0_4_0
This specification can be found at https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.4.0.md.
public static final TomlVersion V0_5_0
This specification can be found at https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.5.0.md.
public static final TomlVersion LATEST
public static final TomlVersion HEAD
The latest specification can be found at https://github.com/toml-lang/toml/blob/master/README.md.
Note: As the specification is under active development, this implementation may not match the latest changes.
public static TomlVersion[] values()
for (TomlVersion c : TomlVersion.values()) System.out.println(c);
public static TomlVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null