public class FileAssetPathCollector extends ProtocolAwareAssetPathCollector
FileAssetPathCollector searches webjars on disk
in a special directory.| Constructor and Description |
|---|
FileAssetPathCollector(java.lang.String pathPrefix)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
collect(java.net.URL url,
java.util.regex.Pattern filterExpr)
collects all webjars assets on given url.
|
acceptpublic FileAssetPathCollector(java.lang.String pathPrefix)
pathPrefix - the path where to look for resourcespublic java.util.Collection<java.lang.String> collect(java.net.URL url,
java.util.regex.Pattern filterExpr)
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.