public static enum PathExists.KindOfPath extends Enum<PathExists.KindOfPath>
| Enum Constant and Description |
|---|
DIRECTORY
Directory path.
|
FILE
File path.
|
FILE_OR_DIRECTORY
File or directory path.
|
| Modifier and Type | Method and Description |
|---|---|
static PathExists.KindOfPath |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathExists.KindOfPath[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathExists.KindOfPath FILE
public static final PathExists.KindOfPath DIRECTORY
public static final PathExists.KindOfPath FILE_OR_DIRECTORY
public static PathExists.KindOfPath[] values()
for (PathExists.KindOfPath c : PathExists.KindOfPath.values()) System.out.println(c);
public static PathExists.KindOfPath 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 nullCopyright © 2015. All rights reserved.