public class ClassPathStoreResourceResolver
extends org.springframework.core.io.support.PathMatchingResourcePatternResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassPathStoreResourceResolver.UrlInputStreamResource |
| Constructor and Description |
|---|
ClassPathStoreResourceResolver(org.springframework.context.ApplicationContext applicationContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
getResource(String location)
Retrieves a resource for a given location
This method performs a robust lookup, first checking the servlet context for the resource.
|
org.springframework.core.io.Resource[] |
getResources(String locationPattern)
Looks up resources by matching against a given location pattern
Performs a robust match of the given location pattern against both servlet context class path resources
as well as resources contained within JAR files.
|
addAllClassLoaderJarRoots, addClassPathManifestEntries, convertClassLoaderURL, determineRootDir, doFindAllClassPathResources, doFindMatchingFileSystemResources, doFindPathMatchingFileResources, doFindPathMatchingJarResources, doRetrieveMatchingFiles, findAllClassPathResources, findPathMatchingResources, getClassLoader, getJarFile, getPathMatcher, getResourceLoader, isJarResource, listDirectory, resolveRootDirResource, retrieveMatchingFiles, setPathMatcherpublic ClassPathStoreResourceResolver(org.springframework.context.ApplicationContext applicationContext)
applicationContext - ApplicationContextpublic org.springframework.core.io.Resource getResource(String location)
getResource in interface org.springframework.core.io.ResourceLoadergetResource in class org.springframework.core.io.support.PathMatchingResourcePatternResolverPathMatchingResourcePatternResolver.getResource(java.lang.String)public org.springframework.core.io.Resource[] getResources(String locationPattern) throws IOException
getResources in interface org.springframework.core.io.support.ResourcePatternResolvergetResources in class org.springframework.core.io.support.PathMatchingResourcePatternResolverIOExceptionPathMatchingResourcePatternResolver.getResources(java.lang.String)Copyright © 2005–2019 Alfresco Software. All rights reserved.