|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.io.support.PathMatchingResourcePatternResolver
org.springframework.web.context.support.ServletContextResourcePatternResolver
org.alfresco.util.ResourceFinder
public class ResourceFinder
Can be used in Spring configuration to search for all resources matching an array of patterns.
Field Summary |
---|
Fields inherited from interface org.springframework.core.io.support.ResourcePatternResolver |
---|
CLASSPATH_ALL_URL_PREFIX |
Fields inherited from interface org.springframework.core.io.ResourceLoader |
---|
CLASSPATH_URL_PREFIX |
Constructor Summary | |
---|---|
ResourceFinder()
|
|
ResourceFinder(org.springframework.core.io.ResourceLoader resourceLoader)
The Constructor. |
Method Summary | |
---|---|
org.springframework.core.io.Resource[] |
getResources(java.lang.String[] locationPatterns)
Gets an array of resources matching the given location patterns. |
Methods inherited from class org.springframework.web.context.support.ServletContextResourcePatternResolver |
---|
doFindPathMatchingFileResources, doRetrieveMatchingServletContextResources |
Methods inherited from class org.springframework.core.io.support.PathMatchingResourcePatternResolver |
---|
convertClassLoaderURL, determineRootDir, doFindMatchingFileSystemResources, doFindPathMatchingJarResources, doRetrieveMatchingFiles, findAllClassPathResources, findPathMatchingResources, getClassLoader, getJarFile, getPathMatcher, getResource, getResourceLoader, getResources, isJarResource, resolveRootDirResource, retrieveMatchingFiles, setPathMatcher |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceFinder()
public ResourceFinder(org.springframework.core.io.ResourceLoader resourceLoader)
resourceLoader
- the resource loaderMethod Detail |
---|
public org.springframework.core.io.Resource[] getResources(java.lang.String[] locationPatterns) throws java.io.IOException
locationPatterns
- the location patterns
java.io.IOException
- Signals that an I/O exception has occurred.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |