Enum Class PatternFlag

java.lang.Object
java.lang.Enum<PatternFlag>
com.jayway.jsonpath.internal.filter.PatternFlag
All Implemented Interfaces:
Serializable, Comparable<PatternFlag>, Constable

public enum PatternFlag extends Enum<PatternFlag>
  • Enum Constant Details

    • UNIX_LINES

      public static final PatternFlag UNIX_LINES
    • CASE_INSENSITIVE

      public static final PatternFlag CASE_INSENSITIVE
    • COMMENTS

      public static final PatternFlag COMMENTS
    • MULTILINE

      public static final PatternFlag MULTILINE
    • DOTALL

      public static final PatternFlag DOTALL
    • UNICODE_CASE

      public static final PatternFlag UNICODE_CASE
    • UNICODE_CHARACTER_CLASS

      public static final PatternFlag UNICODE_CHARACTER_CLASS
  • Method Details

    • values

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

      public static PatternFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • parseFlags

      public static int parseFlags(char[] flags)
    • parseFlags

      public static String parseFlags(int flags)