@NullMarked public class WebJarVersionLocator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
WEBJARS_PATH_PREFIX
The path to where webjar resources live.
|
| Constructor and Description |
|---|
WebJarVersionLocator() |
WebJarVersionLocator(WebJarCache cache) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
fullPath(String webJarName,
String exactPath) |
@Nullable String |
path(String webJarName,
String exactPath) |
@Nullable String |
version(String webJarName) |
@Nullable String |
webJarVersion(String webJarName)
Deprecated.
Use
version(String) instead |
public static final String WEBJARS_PATH_PREFIX
public WebJarVersionLocator()
public WebJarVersionLocator(WebJarCache cache)
public @Nullable String fullPath(String webJarName, String exactPath)
webJarName - The name of the WebJar, i.e. bootstrapexactPath - The path to the file within the WebJar, i.e. js/bootstrap.jspublic @Nullable String path(String webJarName, String exactPath)
webJarName - The name of the WebJar, i.e. bootstrapexactPath - The path to the file within the WebJar, i.e. js/bootstrap.js@Deprecated public @Nullable String webJarVersion(String webJarName)
version(String) insteadwebJarName - The name of the WebJar, i.e. bootstrapCopyright © 2012–2024. All rights reserved.