public class WebjarUriLocator extends Object implements UriLocator
webjar:| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS
Alias used to register this locator with
LocatorProvider. |
static String |
PREFIX
Prefix of the resource uri used to check if the resource can be read by this
UriLocator implementation. |
| Constructor and Description |
|---|
WebjarUriLocator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String uri) |
static String |
createUri(String path) |
InputStream |
locate(String uri) |
public static final String ALIAS
LocatorProvider.public static final String PREFIX
UriLocator implementation.public static String createUri(String path)
public InputStream locate(String uri) throws IOException
locate in interface UriLocatorIOExceptionpublic boolean accept(String uri)
accept in interface UriLocatorCopyright © 2008-2016. All Rights Reserved.