|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AssetLocation>
juzu.asset.AssetLocation
public enum AssetLocation
| Enum Constant Summary | |
|---|---|
APPLICATION
An application served asset. |
|
SERVER
A server served asset, server assets URI is managed by Juzu and is computed relative to the server deployment. |
|
URL
An external asset, not managed by Juzu. |
|
| Method Summary | |
|---|---|
static AssetLocation |
safeValueOf(String name)
|
static AssetLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AssetLocation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AssetLocation URL
public static final AssetLocation SERVER
public static final AssetLocation APPLICATION
| Method Detail |
|---|
public static AssetLocation[] values()
for (AssetLocation c : AssetLocation.values()) System.out.println(c);
public static AssetLocation valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static AssetLocation safeValueOf(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||