public interface LaunchpadContentProvider
ResourceProvider
defines a simple API to access resources
from the environment depending on how Sling is launched.Modifier and Type | Method and Description |
---|---|
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. |
Iterator<String> getChildren(String path)
URL getResource(String path)
null
if no such resource exists.InputStream getResourceAsStream(String path)
InputStream
to the resource given by the path
or null
if no such resource exists.Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.