ServletContext-aware subclass of
PathMatchingResourcePatternResolver ,
able to find matching resources below the web application root directory
via Servlet 2.3's ServletContext.getResourcePaths.
Falls back to the superclass' file system checking for other resources.
author: Juergen Hoeller since: 1.1.2
doFindPathMatchingFileResources(Resource rootDirResource, String subPattern) Overridden version which checks for ServletContextResource
and uses ServletContext.getResourcePaths to find
matching resources below the web application root directory.
Recursively retrieve ServletContextResources that match the given pattern,
adding them to the given result set.
Parameters: servletContext - the ServletContext to work on Parameters: fullPattern - the pattern to match against,with preprended root directory path Parameters: dir - the current directory Parameters: result - the Set of matching Resources to add to throws: IOException - if directory contents could not be retrieved See Also:ServletContextResource See Also:javax.servlet.ServletContext.getResourcePaths
Methods inherited from org.springframework.core.io.support.PathMatchingResourcePatternResolver