public enum StaticResourceType extends Enum<StaticResourceType>
| Enum Constant and Description |
|---|
DIRECTORY |
DIRECTORY_FROM_CLASSPATH |
FILE |
FILE_FROM_CLASSPATH |
| Modifier and Type | Method and Description |
|---|---|
static StaticResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StaticResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StaticResourceType FILE
public static final StaticResourceType FILE_FROM_CLASSPATH
public static final StaticResourceType DIRECTORY
public static final StaticResourceType DIRECTORY_FROM_CLASSPATH
public static StaticResourceType[] values()
for (StaticResourceType c : StaticResourceType.values()) System.out.println(c);
public static StaticResourceType 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 © 2019. All rights reserved.