Announcement Announcement Module
Collapse
No announcement yet.
Ant style path wildcard matching API call Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ant style path wildcard matching API call

    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?

  • #2
    Take a look at PathMatchingResourcePatternResolver.

    Rob

    Comment


    • #3
      PathMatchingResourcePatternResolver

      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?

      Comment

      Working...
      X