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