public class CachingResourceLoader extends ResourceLoader
| Constructor and Description | 
|---|
| CachingResourceLoader(ResourceLoader parent)Constructs a new CachingResourceLoader. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected URL | findResource(String path)Returns the cached resource url if previously requested. | 
| boolean | isCachable()Returns whether a resource is cachable. | 
getContentType, getContentType, getNullResourceLoader, getParent, getResource, toStringpublic CachingResourceLoader(ResourceLoader parent)
parent - the parent resource loaderprotected URL findResource(String path) throws IOException
findResource in class ResourceLoaderpath - the resource pathIOException - if an I/O error occurspublic boolean isCachable()
ResourceLoaderisCachable in class ResourceLoaderCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.