I have a folder and want to load all txt files to a list using Spring and wildcards:
By annotation I could do the following:
@Value("classpath*:../../dir/*.txt")
private Resource[] files;
But how can I achieve the same using spring programmatically?