PathMatchingResourcePatternResolver

Published: Saturday, 30 September 2006
spring

PathMatchingResourcePatternResolver can be used to pull things from the classpath. e.g. get all properties files

PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver();
Resource[] resources = resolver.getResources("classpath*:/**/*.properties");