public interface PathMatchingHelper
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(URL rootURL)
Indicates whether this helper is capable of searching the given URL (i.e.
|
org.springframework.core.io.Resource |
getResource(URL url)
Gets the resource at the given URL.
|
Set<org.springframework.core.io.Resource> |
getResources(org.springframework.util.PathMatcher matcher,
URL rootURL,
String subPattern)
Gets the set of resources under the given URL whose path matches the given sub pattern.
|
boolean canHandle(URL rootURL)
rootURL
- the root url to be searchedtrue
if this helper is capable of searching the given URLorg.springframework.core.io.Resource getResource(URL url) throws IOException
url
- URLIOException
- for any errorSet<org.springframework.core.io.Resource> getResources(org.springframework.util.PathMatcher matcher, URL rootURL, String subPattern) throws IOException
matcher
- the matcherrootURL
- the root URL to be searchedsubPattern
- the ant-style pattern to matchIOException
- for any errorCopyright © 2005–2020 Alfresco Software. All rights reserved.