Hi
I am looking to call a Spring API method, that given input "**/*.xml" will return me a list of Resources that I can load from the file system..
Does anyone (that knows this part of the core API) know where this interface is?
Hi
I am looking to call a Spring API method, that given input "**/*.xml" will return me a list of Resources that I can load from the file system..
Does anyone (that knows this part of the core API) know where this interface is?
Take a look at PathMatchingResourcePatternResolver.
Rob
Excellent - that is what I am after - but the interface call I want to make is protected:
protected List retrieveMatchingFiles(File rootDir, String pattern)
The only publicly available interface methods search the current dir - which is not what I am after...
Is there any reason why this is protected?