public class RegexResourceLoader extends ResourceLoader
| Constructor and Description | 
|---|
| RegexResourceLoader()Creates a new RegexResourceLoader. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | deregister(String regex)Deregisters a resource loader by regular expression. | 
| protected URL | findResource(String path)Finds the resource with the given name. | 
| protected void | register(String regex,
        ResourceLoader loader)Registers a resource loader by regular expression. | 
getContentType, getContentType, getNullResourceLoader, getParent, getResource, isCachable, toStringpublic RegexResourceLoader()
protected URL findResource(String path) throws IOException
ResourceLoaderfindResource in class ResourceLoaderpath - The resource nameIOExceptionprotected void register(String regex, ResourceLoader loader)
regex - the regular expression to matchloader - the resource loader to use for matching pathsprotected void deregister(String regex)
regex - the regular expression to removeCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.