public static enum Resource.ResourceType extends Enum<Resource.ResourceType>
| Enum Constant and Description |
|---|
ABSOLUTE_FILE |
ARTIFACT_ID |
CLASS_NAME |
CLASSPATH_RESOURCE |
LITERAL_VALUE |
PACKAGE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static Resource.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resource.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resource.ResourceType CLASSPATH_RESOURCE
public static final Resource.ResourceType LITERAL_VALUE
public static final Resource.ResourceType ABSOLUTE_FILE
public static final Resource.ResourceType CLASS_NAME
public static final Resource.ResourceType PACKAGE_NAME
public static final Resource.ResourceType ARTIFACT_ID
public static Resource.ResourceType[] values()
for (Resource.ResourceType c : Resource.ResourceType.values()) System.out.println(c);
public static Resource.ResourceType 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 © December 07, 2012–2015 The Internet Party. All rights reserved.