public interface ResourceFinder
handle(s) or URL(s) of it.| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
findResource(java.lang.String name)
Find the resource by name and return URL of it if found.
|
java.util.Enumeration |
findResources(java.lang.String name)
Find all resources with given name and return enumeration of their URLs.
|
ResourceHandle |
getResource(java.lang.String name)
Get the resource by name and, if found, open connection to it and return
the
handle of it. |
java.net.URL findResource(java.lang.String name)
name - the resource namejava.util.Enumeration findResources(java.lang.String name)
name - the resource nameResourceHandle getResource(java.lang.String name)
handle of it.name - the resource nameCopyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.