|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PathMatchingHelper
An interface for plug ins to JBossEnabledResourcePatternResolver that avoids direct dependencies on
application server specifics.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
boolean canHandle(java.net.URL rootURL)
rootURL - the root url to be searched
true if this helper is capable of searching the given URL
org.springframework.core.io.Resource getResource(java.net.URL url)
throws java.io.IOException
url -
java.io.IOException - for any error
java.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 match
java.io.IOException - for any error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||