public class FileResourceFinder extends java.lang.Object implements ResourceFinder
Constructor and Description |
---|
FileResourceFinder() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
deepFind(java.net.URL resource,
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 resource,
java.lang.String packageName)
Returns a set of resource names present in the specified package on the
given path.
|
java.lang.String |
protocol() |
public java.lang.String protocol()
protocol
in interface ResourceFinder
public java.util.List<java.lang.String> find(java.net.URL resource, java.lang.String packageName)
ResourceFinder
find
in interface ResourceFinder
resource
- the path to the resource.packageName
- the package name to search for another resources.public java.util.List<java.lang.String> deepFind(java.net.URL resource, java.lang.String packageName)
ResourceFinder
deepFind
in interface ResourceFinder
resource
- the path to the resource.packageName
- the package name to search for another resources.