public class Vfs2PathMatchingResourcePatternResolver
extends org.springframework.core.io.support.PathMatchingResourcePatternResolver
PathMatchingResourcePatternResolver subclass that is able to resolve a specified resource
location path into one or more matching Resource, inculding Vfs2Resource.Vfs2Resource| Constructor and Description |
|---|
Vfs2PathMatchingResourcePatternResolver(org.springframework.core.io.ResourceLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.core.io.Resource[] |
findPathMatchingResources(String locationPattern)
Find all resources that match the given location pattern via the Ant-style PathMatcher.
|
protected boolean |
isJarResource(org.springframework.core.io.Resource resource)
The fix https://jira.spring.io/browse/SPR-11676 for the 4.0.4 Spring release breaks VFS
support.
|
convertClassLoaderURL, determineRootDir, doFindMatchingFileSystemResources, doFindPathMatchingFileResources, doFindPathMatchingJarResources, doRetrieveMatchingFiles, findAllClassPathResources, getClassLoader, getJarFile, getPathMatcher, getResource, getResourceLoader, getResources, resolveRootDirResource, retrieveMatchingFiles, setPathMatcherpublic Vfs2PathMatchingResourcePatternResolver(org.springframework.core.io.ResourceLoader resourceLoader)
protected org.springframework.core.io.Resource[] findPathMatchingResources(String locationPattern) throws IOException
findPathMatchingResources in class org.springframework.core.io.support.PathMatchingResourcePatternResolverlocationPattern - the location pattern to matchIOException - in case of I/O errorsPathMatchingResourcePatternResolver.doFindPathMatchingJarResources(org.springframework.core.io.Resource, java.lang.String),
PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(org.springframework.core.io.Resource, java.lang.String),
PathMatcherprotected boolean isJarResource(org.springframework.core.io.Resource resource)
throws IOException
isJarResource in class org.springframework.core.io.support.PathMatchingResourcePatternResolverIOExceptionCopyright © 2014-2015. All Rights Reserved.