public class FileAssetPathCollector extends ProtocolAwareAssetPathCollector
FileAssetPathCollector searches webjars on disk
in a special directory.| Constructor and Description |
|---|
FileAssetPathCollector(String pathPrefix)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
collect(URL url,
Pattern filterExpr)
collects all webjars assets on given url.
|
acceptpublic FileAssetPathCollector(String pathPrefix)
pathPrefix - the path where to look for resourcespublic Collection<String> collect(URL url, Pattern filterExpr)
AssetPathCollectorurl - the path to webjars assetsfilterExpr - a filter that must be applied on all found assets.url that matches given filterExprCopyright © 2015 agilecoders.de. All Rights Reserved.