public class ResourceLocator extends Object
Used to locate resources at build / development time
Modifiers | Name | Description |
---|---|---|
static String |
CLOSURE_MARKER |
|
static String |
FILE_SEPARATOR |
|
protected static Resource |
NULL_RESOURCE |
|
static String |
WEB_APP_DIR |
|
static String |
WILDCARD |
|
protected Map<String, Resource> |
classNameToResourceCache |
|
protected List<String> |
classSearchDirectories |
|
protected ResourceLoader |
defaultResourceLoader |
|
protected PathMatchingResourcePatternResolver |
patchMatchingResolver |
|
protected List<String> |
resourceSearchDirectories |
|
protected Map<String, Resource> |
uriToResourceCache |
|
protected boolean |
warDeployed |
Type Params | Return Type | Name and description |
---|---|---|
|
public Resource |
findResourceForClassName(String className) |
|
public Resource |
findResourceForURI(String uri) |
|
protected ResourceLoader |
getDefaultResourceLoader() |
|
public void |
setResourceLoader(ResourceLoader resourceLoader) |
|
public void |
setSearchLocation(String searchLocation) |
|
public void |
setSearchLocations(Collection<String> searchLocations) |