question: public List < Properties > findAvailableProperties ( String uri ) throws IOException { _resourcesNotLoaded . clear ( ) ; String fulluri = _path + uri ; List < Properties > properties = new ArrayList < > ( ) ; Enumeration < URL > resources = getResources ( fulluri ) ; while ( resources . hasMoreElements ( ) ) { URL url = resources . nextElement ( ) ; try { Properties props = loadProperties ( url ) ; properties . add ( props ) ; } catch ( Exception notAvailable ) { _resourcesNotLoaded . add ( url . toExternalForm ( ) ) ; } } return properties ; }
target:  Finds the corresponding resources and reads them in as a properties files <p/> Any URL that cannot be read in as a properties file will be added to the 'resourcesNotLoaded' collection. <p/> Example classpath: <p/> META-INF/app.properties META-INF/app.properties META-INF/app.properties <p/> ResourceFinder finder = new ResourceFinder("META-INF/"); List<Properties> appProps = finder.findAvailableProperties("app.properties");