de.agilecoders.wicket.webjars.collectors
Class ProtocolAwareAssetPathCollector
java.lang.Object
de.agilecoders.wicket.webjars.collectors.ProtocolAwareAssetPathCollector
- All Implemented Interfaces:
- AssetPathCollector
- Direct Known Subclasses:
- FileAssetPathCollector, JarAssetPathCollector, VfsAssetPathCollector
public abstract class ProtocolAwareAssetPathCollector
- extends Object
- implements AssetPathCollector
|
Method Summary |
boolean |
accept(URL url)
whether this collector supports given url (especially protocol) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolAwareAssetPathCollector
protected ProtocolAwareAssetPathCollector(String... protocols)
- Construct.
- Parameters:
protocols - the protocols to accept
accept
public boolean accept(URL url)
- Description copied from interface:
AssetPathCollector
- whether this collector supports given url (especially protocol)
- Specified by:
accept in interface AssetPathCollector
- Parameters:
url - the url to webjars asset
- Returns:
- true, if given protocol is accepted
Copyright © 2016 agilecoders.de. All Rights Reserved.