|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceLocator
Locator of resources.
| Method Summary | |
|---|---|
URL |
getResource(String resourcePath)
Obtains the URL for the resource. |
InputStream |
getResourceAsStream(String resourcePath)
Obtains the InputStream to the contents of the resource. |
Set<String> |
getResourceChildren(String resourcePath)
Obtains the direct children for the resource. |
| Method Detail |
|---|
Set<String> getResourceChildren(String resourcePath)
resourcePath - Path to the resource.
URL getResource(String resourcePath)
throws MalformedURLException
URL for the resource.
resourcePath - Path to the resource.
URL to the resource or null if no resource
at path.
MalformedURLException - If resource path is malformed.InputStream getResourceAsStream(String resourcePath)
InputStream to the contents of the resource.
resourcePath - Path to the resource.
InputStream to the contents of the resource or
null if no resource at path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||