public class ClasspathAssetPathCollector extends java.lang.Object implements AssetPathCollector
IWebjarsSettings.webjarsPath(), usually in META-INF/resources/webjars/**.| Constructor and Description |
|---|
ClasspathAssetPathCollector() |
| 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 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.