public static enum FileInfo.Type extends Enum<FileInfo.Type>
| Enum Constant and Description |
|---|
DIRECTORY |
MISSING |
OTHER |
REGULAR |
SYMLINK |
| Modifier and Type | Method and Description |
|---|---|
static FileInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileInfo.Type REGULAR
public static final FileInfo.Type DIRECTORY
public static final FileInfo.Type SYMLINK
public static final FileInfo.Type OTHER
public static final FileInfo.Type MISSING
public static FileInfo.Type[] values()
for (FileInfo.Type c : FileInfo.Type.values()) System.out.println(c);
public static FileInfo.Type 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 © 2023 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.