|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.agilecoders.wicket.webjars.util.file.WebjarsResourceFinder
public class WebjarsResourceFinder
Knows how to find webjars resources.
| Constructor Summary | |
|---|---|
WebjarsResourceFinder(IWebjarsSettings settings)
Construct. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebjarsResourceFinder(IWebjarsSettings settings)
settings - the webjars settings to use| Method Detail |
|---|
protected 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 path
protected 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 load
IResourceStream instance that represents the content of given resource path or
null if resource wasn't foundpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||