Enumeration<URL> urlEnumeration = gerClassPathResources(rootDirPath);
DefaultFilePatternScanner fileScanner = new DefaultFilePatternScanner();
FileHandler fileHandler = new FileHandler() {
@Override
public void handle(File file) {
Resource resource = new FileResource(file);
handler.handle(resource);
}
};
while (urlEnumeration.hasMoreElements()) {
URL url = (URL) urlEnumeration.nextElement();