|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.resource.locator.ResourceStreamLocator org.apache.wicket.util.resource.locator.OsgiResourceStreamLocator
public class OsgiResourceStreamLocator
OSGI specific resource stream factory
Constructor Summary | |
---|---|
OsgiResourceStreamLocator()
Construct. |
|
OsgiResourceStreamLocator(IResourceFinder finder)
Construct. |
Method Summary | |
---|---|
IResourceStream |
locate(java.lang.Class clazz,
java.lang.String path)
Loads a resource, given a path and class. |
Methods inherited from class org.apache.wicket.util.resource.locator.ResourceStreamLocator |
---|
locate, locateByClassLoader, locateByResourceFinder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OsgiResourceStreamLocator()
public OsgiResourceStreamLocator(IResourceFinder finder)
finder
- Method Detail |
---|
public IResourceStream locate(java.lang.Class clazz, java.lang.String path)
IResourceStreamLocator
IResourceStreamLocator.locate(Class, String, String, Locale, String)
where the latter just takes care of
trying out the different combinations for the provided style and locale and uses this method
to actually load the resource stream.
locate
in interface IResourceStreamLocator
locate
in class ResourceStreamLocator
clazz
- The class loader for delegating the loading of the resourcepath
- The path of the resource
ResourceStreamLocator.locate(java.lang.Class,
java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |