public enum StaticResourceLocation extends Enum<StaticResourceLocation>
Enum Constant and Description |
---|
CSS
Resources under
"/css" . |
FAVICON
The
"favicon.ico" resource. |
IMAGES
Resources under
"/images" . |
JAVA_SCRIPT
Resources under
"/js" . |
WEB_JARS
Resources under
"/webjars" . |
Modifier and Type | Method and Description |
---|---|
Stream<String> |
getPatterns() |
static StaticResourceLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StaticResourceLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StaticResourceLocation CSS
"/css"
.public static final StaticResourceLocation JAVA_SCRIPT
"/js"
.public static final StaticResourceLocation IMAGES
"/images"
.public static final StaticResourceLocation WEB_JARS
"/webjars"
.public static final StaticResourceLocation FAVICON
"favicon.ico"
resource.public static StaticResourceLocation[] values()
for (StaticResourceLocation c : StaticResourceLocation.values()) System.out.println(c);
public static StaticResourceLocation 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 © 2020 Pivotal Software, Inc.. All rights reserved.