public interface PathMatchingHelper
JBossEnabledResourcePatternResolver that avoids direct dependencies on
application server specifics.| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(java.net.URL rootURL)
Indicates whether this helper is capable of searching the given URL (i.e.
|
org.springframework.core.io.Resource |
getResource(java.net.URL url)
Gets the resource at the given URL.
|
java.util.Set |
getResources(org.springframework.util.PathMatcher matcher,
java.net.URL rootURL,
java.lang.String subPattern)
Gets the set of resources under the given URL whose path matches the given sub pattern.
|
boolean canHandle(java.net.URL rootURL)
rootURL - the root url to be searchedtrue if this helper is capable of searching the given URLorg.springframework.core.io.Resource getResource(java.net.URL url)
throws java.io.IOException
url - java.io.IOException - for any errorjava.util.Set getResources(org.springframework.util.PathMatcher matcher,
java.net.URL rootURL,
java.lang.String subPattern)
throws java.io.IOException
matcher - the matcherrootURL - the root URL to be searchedsubPattern - the ant-style pattern to matchjava.io.IOException - for any errorCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.