public static enum FileResource.TYPE extends Enum<FileResource.TYPE>
| Modifier and Type | Method and Description |
|---|---|
static FileResource.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileResource.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileResource.TYPE FILE
public static final FileResource.TYPE DIRCTORY
public static final FileResource.TYPE UNKNOWN
public static FileResource.TYPE[] values()
for (FileResource.TYPE c : FileResource.TYPE.values()) System.out.println(c);
public static FileResource.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 © 2016. All Rights Reserved.