public interface ResourceFinder
path
based on a package name.Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
deepFind(java.net.URL path,
java.lang.String packageName)
Returns a set of resource names present in the specified package and its
subpackages on the given path.
|
java.util.List<java.lang.String> |
find(java.net.URL path,
java.lang.String packageName)
Returns a set of resource names present in the specified package on the
given path.
|
java.lang.String |
protocol() |
java.lang.String protocol()
java.util.List<java.lang.String> find(java.net.URL path, java.lang.String packageName) throws java.io.IOException
path
- the path to the resource.packageName
- the package name to search for another resources.java.io.IOException
java.util.List<java.lang.String> deepFind(java.net.URL path, java.lang.String packageName) throws java.io.IOException
path
- the path to the resource.packageName
- the package name to search for another resources.java.io.IOException