public class WebSphereClasspathAssetPathCollector extends java.lang.Object implements AssetPathCollector
IWebjarsSettings.webjarsPath(), usually in META-INF/resources/webjars/**.
Make sure to add dependency on edu.emory.mathcs.util:emory-util-classloader to the classpath!WebSphereWebjarsSettings| Constructor and Description |
|---|
WebSphereClasspathAssetPathCollector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.net.URL url)
whether this collector supports given url (especially protocol)
|
java.util.Collection<java.lang.String> |
collect(java.net.URL url,
java.util.regex.Pattern filterExpr)
collects all webjars assets on given url.
|
public WebSphereClasspathAssetPathCollector()
public boolean accept(java.net.URL url)
AssetPathCollectoraccept in interface AssetPathCollectorurl - the url to webjars assetpublic java.util.Collection<java.lang.String> collect(java.net.URL url,
java.util.regex.Pattern filterExpr)
AssetPathCollectorcollect in interface AssetPathCollectorurl - the path to webjars assetsfilterExpr - a filter that must be applied on all found assets.url that matches given filterExprCopyright © 2019 agilecoders.de. All Rights Reserved.