DirectoryResourceFinderpublic abstract class FileResourceFinder extends ResourceFinder
ResourceFinder
for finding resources in Files.
It finds FileResources instead of simple
Resources.
EMPTY_RESOURCE_FINDER| Constructor | Description |
|---|---|
FileResourceFinder() |
| Modifier and Type | Method | Description |
|---|---|---|
Resource |
findResource(String resourceName) |
Find a resource by name and return it as a
Resource object. |
protected abstract File |
findResourceAsFile(String resourceName) |
Converts a given resource resource name into a
File. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindResourceAsStreampublic final Resource findResource(String resourceName)
ResourceFinderResource object.findResource in class ResourceFinderresourceName - Designates the resource; typically structured by slashes ("/") like
"com/foo/pkg/Bar.class"null if the resource could not be foundCopyright © 2001–2019. All rights reserved.