public interface ResourceFinder
handle(s)
or URL(s) of it.Modifier and Type | Method and Description |
---|---|
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. |
URL findResource(String name)
name
- the resource nameEnumeration findResources(String name)
name
- the resource nameResourceHandle getResource(String name)
handle
of it.name
- the resource nameCopyright © 2005–2017. All rights reserved.