Package org.tomlj

Enum TomlVersion

java.lang.Object
java.lang.Enum<TomlVersion>
org.tomlj.TomlVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TomlVersion>, java.lang.constant.Constable

public enum TomlVersion
extends java.lang.Enum<TomlVersion>
Supported TOML specification versions.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant 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.
    V1_0_0
    The 1.0.0 version of TOML.
  • Method Summary

    Modifier and Type Method 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.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait