Enum PathProperties

java.lang.Object
java.lang.Enum<PathProperties>
joptsimple.util.PathProperties
All Implemented Interfaces:
Serializable, Comparable<PathProperties>, java.lang.constant.Constable

public enum PathProperties extends Enum<PathProperties>
Enum for checking common conditions of files and directories.
See Also:
  • Enum Constant Details

  • Field Details

    • messageKey

      private final String messageKey
  • Constructor Details

    • PathProperties

      private PathProperties(String messageKey)
  • Method Details

    • values

      public static PathProperties[] 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 PathProperties 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
    • accept

      abstract boolean accept(Path path)
    • getMessageKey

      String getMessageKey()