public interface AssetPathCollector
AssetPathCollector collects webjars assets from
an url/classpath/disc and so on depending on the protocol that is used.| 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.
|
boolean accept(java.net.URL url)
url - the url to webjars assetjava.util.Collection<java.lang.String> collect(java.net.URL url,
java.util.regex.Pattern filterExpr)
url - 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.