Serializable
, Comparable<FileInfo.Type>
public static enum FileInfo.Type extends Enum<FileInfo.Type>
Modifier and Type | Method | 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 File
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 null