Serializable
, Comparable<PathSensitivity>
@Incubating public enum PathSensitivity extends Enum<PathSensitivity>
PathSensitive
Enum Constant | Description |
---|---|
ABSOLUTE |
Consider the full path of files and directories.
|
NAME_ONLY |
Consider only the name of files and directories.
|
NONE |
Ignore file paths and directories altogether.
|
RELATIVE |
Use the location of the file related to a hierarchy.
|
Modifier and Type | Method | Description |
---|---|---|
static PathSensitivity |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PathSensitivity[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathSensitivity ABSOLUTE
public static final PathSensitivity RELATIVE
public static final PathSensitivity NAME_ONLY
public static final PathSensitivity NONE
public static PathSensitivity[] values()
for (PathSensitivity c : PathSensitivity.values()) System.out.println(c);
public static PathSensitivity 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