public enum ResourceType extends java.lang.Enum<ResourceType>
| Modifier and Type | Method | Description |
|---|---|---|
static ResourceType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType IMAGE
public static final ResourceType PROPERTY
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.