Package ro.isdc.wro.extensions.locator
Class WebjarsUriLocator
java.lang.Object
ro.isdc.wro.extensions.locator.WebjarsUriLocator
- All Implemented Interfaces:
UriLocator
Similar to
WebjarUriLocator, but uses "webjars:" prefix to identify a webjar resource. Useful when resources
are located using build-time solution (maven plugin).- Since:
- 1.8.0
- Author:
- Alex Objelean, Paul Podgorsek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAlias used to register this locator withLocatorProvider. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALIAS
Alias used to register this locator withLocatorProvider.- See Also:
-
-
Constructor Details
-
WebjarsUriLocator
public WebjarsUriLocator()
-
-
Method Details
-
createUri
- Returns:
- the uri which is acceptable by this locator.
-
locate
- Specified by:
locatein interfaceUriLocator- Throws:
IOException
-
accept
- Specified by:
acceptin interfaceUriLocator
-