de.agilecoders.wicket.webjars.collectors
Class FileAssetPathCollector
java.lang.Object
de.agilecoders.wicket.webjars.collectors.ProtocolAwareAssetPathCollector
de.agilecoders.wicket.webjars.collectors.FileAssetPathCollector
- All Implemented Interfaces:
- AssetPathCollector
public class FileAssetPathCollector
- extends ProtocolAwareAssetPathCollector
A FileAssetPathCollector searches webjars on disk
in a special directory.
- Author:
- miha
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileAssetPathCollector
public FileAssetPathCollector(String pathPrefix)
- Construct.
- Parameters:
pathPrefix - the path where to look for resources
collect
public Collection<String> collect(URL url,
Pattern filterExpr)
- Description copied from interface:
AssetPathCollector
- collects all webjars assets on given url.
- Parameters:
url - the path to webjars assetsfilterExpr - a filter that must be applied on all found assets.
- Returns:
- a collection of webjars assets on given
url that matches given filterExpr
Copyright © 2016 agilecoders.de. All Rights Reserved.