|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Abstraction of resource searching policy. Given resource name, the resource
finder performs implementation-specific lookup, and, if it is able to locate
the resource, returns the handle(s) or URL(s) of it.
| Method Summary | |
URL |
findResource(String name)
Find the resource by name and return URL of it if found. |
Enumeration |
findResources(String name)
Find all resources with given name and return enumeration of their URLs. |
ResourceHandle |
getResource(String name)
Get the resource by name and, if found, open connection to it and return the handle of it. |
| Method Detail |
public URL findResource(String name)
name - the resource name
public Enumeration findResources(String name)
name - the resource name
public ResourceHandle getResource(String name)
handle of it.
name - the resource name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||