Enum Wildcard

java.lang.Object
java.lang.Enum<Wildcard>
org.refcodes.data.Wildcard
All Implemented Interfaces:
Serializable, Comparable<Wildcard>, java.lang.constant.Constable, org.refcodes.mixin.ValueAccessor<String>

public enum Wildcard extends Enum<Wildcard> implements org.refcodes.mixin.ValueAccessor<String>
Commonly used characters needful for analyzing, parsing or truncating texts.
  • Enum Constant Details

    • CHAR

      public static final Wildcard CHAR
    • FILE

      public static final Wildcard FILE
    • PATH

      public static final Wildcard PATH
    • QUERY

      public static final Wildcard QUERY
  • Method Details

    • values

      public static Wildcard[] 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 Wildcard 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
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.refcodes.mixin.ValueAccessor<String>