|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.launchpad.base.impl.ClassLoaderResourceProvider
public class ClassLoaderResourceProvider
The ClassLoaderResourceProvider
TODO
Constructor Summary | |
---|---|
ClassLoaderResourceProvider(ClassLoader classLoader)
|
Method Summary | |
---|---|
Iterator<String> |
getChildren(String path)
Returns an iterator of paths strings of the children of the given folder defined by its path. |
URL |
getResource(String path)
Returns an URL to the resource with the given path or null
if no such resource exists. |
InputStream |
getResourceAsStream(String path)
Returns an InputStream to the resource given by the path
or null if no such resource exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassLoaderResourceProvider(ClassLoader classLoader)
Method Detail |
---|
public Iterator<String> getChildren(String path)
LaunchpadContentProvider
getChildren
in interface LaunchpadContentProvider
public URL getResource(String path)
LaunchpadContentProvider
null
if no such resource exists.
getResource
in interface LaunchpadContentProvider
public InputStream getResourceAsStream(String path)
LaunchpadContentProvider
InputStream
to the resource given by the path
or null
if no such resource exists.
getResourceAsStream
in interface LaunchpadContentProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |