public class WebjarsResourceFinder extends Object implements org.apache.wicket.util.file.IResourceFinder
| Constructor and Description |
|---|
WebjarsResourceFinder(IWebjarsSettings settings)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.apache.wicket.util.resource.IResourceStream |
find(Class<?> clazz,
String pathName)
Looks for a given path name along the webjars root path
|
int |
hashCode() |
protected IFullPathProvider |
newFullPathProvider() |
protected org.apache.wicket.util.resource.IResourceStream |
newResourceStream(String webjarsPath)
creates a new
IResourceStream for given resource path with should be loaded by given
class loader. |
public WebjarsResourceFinder(IWebjarsSettings settings)
settings - the webjars settings to useprotected IFullPathProvider newFullPathProvider()
public org.apache.wicket.util.resource.IResourceStream find(Class<?> clazz, String pathName)
find in interface org.apache.wicket.util.file.IResourceFinderclazz - The class requesting the resource streampathName - The filename with possible pathprotected org.apache.wicket.util.resource.IResourceStream newResourceStream(String webjarsPath)
IResourceStream for given resource path with should be loaded by given
class loader.webjarsPath - The resource to loadIResourceStream instance that represents the content of given resource path or
null if resource wasn't foundCopyright © 2015 agilecoders.de. All Rights Reserved.