public static enum FileUtilities.FileType extends java.lang.Enum<FileUtilities.FileType>
| Enum Constant and Description |
|---|
DIRECTORY
A regular directory.
|
FILE
A regular file.
|
INVALID
Not a valid file.
|
LINK
A Windows link.
|
SYMLINK
A UNIX symlink.
|
| Modifier and Type | Method and Description |
|---|---|
static FileUtilities.FileType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileUtilities.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileUtilities.FileType FILE
public static final FileUtilities.FileType DIRECTORY
public static final FileUtilities.FileType LINK
public static final FileUtilities.FileType SYMLINK
public static final FileUtilities.FileType INVALID
public static FileUtilities.FileType[] values()
for (FileUtilities.FileType c : FileUtilities.FileType.values()) System.out.println(c);
public static FileUtilities.FileType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null