Enum JsonReader.Delimiter

java.lang.Object
java.lang.Enum<JsonReader.Delimiter>
org.apache.logging.log4j.layout.template.json.util.JsonReader.Delimiter
All Implemented Interfaces:
Serializable, Comparable<JsonReader.Delimiter>, java.lang.constant.Constable
Enclosing class:
JsonReader

private static enum JsonReader.Delimiter extends Enum<JsonReader.Delimiter>
  • Enum Constant Details

  • Field Details

    • string

      private final String string
  • Constructor Details

    • Delimiter

      private Delimiter(String string)
  • Method Details

    • values

      public static JsonReader.Delimiter[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static JsonReader.Delimiter valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • exists

      private static boolean exists(Object token)