class ResourceFileManager {

    public static Set<String> getResourcePaths(String path) {
        String packageName = path.replaceAll("[/\\\\]", ".");
        Reflections reflections = new Reflections(packageName, new ResourcesScanner());

        return reflections.getResources(Pattern.compile(createExtensionRegex(ImageUtils.supportedFilesExtensions)));
    }

}