title: How can I expand wildcards in Spring properties?
body: <p>I am developing spring boot application and I want to inject Collections of resources like this:</p>
  
  <pre><code>@Value("${app.users-location}")
  Collection&lt;Resource&gt; csvResources;
  </code></pre>
  
  <p>inside <code>application.properties</code> I wrote following:</p>
  
  <pre><code>app.users-location=/feed/*.csv
  </code></pre>
  
  <p>But it doesn't work as expected:</p>
  
  <p><a href="https://i.stack.imgur.com/LFH9o.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LFH9o.jpg" alt="/src/main/resources containing a feed folder with 5 CSVs"></a></p>
  
  <p>For that situation I expect to see Collection of 5 elements of type <code>Resource</code>.</p>
  
  <p>How can I achieve it ?</p>