public enum PathValidation extends Enum<PathValidation>
| Modifier and Type | Method and Description |
|---|---|
static PathValidation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathValidation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathValidation NONE
public static final PathValidation EXISTS
public static final PathValidation FILE
public static final PathValidation DIRECTORY
public static PathValidation[] values()
for (PathValidation c : PathValidation.values()) System.out.println(c);
public static PathValidation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null