public class WebjarsResourceFinder
extends java.lang.Object
implements org.apache.wicket.util.file.IResourceFinder
| Constructor and Description |
|---|
WebjarsResourceFinder(IWebjarsSettings settings)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
org.apache.wicket.util.resource.IResourceStream |
find(java.lang.Class<?> clazz,
java.lang.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(java.lang.String webjarsPath)
creates a new
IResourceStream for given resource path with should be loaded by given
class loader. |
void |
reindex() |
public WebjarsResourceFinder(IWebjarsSettings settings)
settings - the webjars settings to usepublic void reindex()
protected IFullPathProvider newFullPathProvider()
public org.apache.wicket.util.resource.IResourceStream find(java.lang.Class<?> clazz,
java.lang.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(java.lang.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 foundpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2019 agilecoders.de. All Rights Reserved.