### Question:
ResourceUtils extends org.springframework.util.ResourceUtils { public static List<URL> getUrls(String path) throws IOException { List<URL> urls = new ArrayList<URL>(); if (path == null) { return urls; } if (path.startsWith("/")) { path = path.substring(1); } Enumeration<URL> enumeration = classLoader.getResources(path); while (enumeration.hasMoreElements()) { urls.add(enumeration.nextElement()); } return urls; }  static String getShotFileName(Resource resource); static String getAbsolutePath(Resource resource); static List<URL> getUrls(String path); static List<Resource> loadResources(List<JarURLConnection> urls, String pattern); static Resource[] getSubResources(String rootPath, String path, boolean all); static String[] getSubs(String rootPath, String path, boolean all);  }### Answer:
@Test public void testGetUrls() throws IOException { List<URL> lists = ResourceUtils.getUrls("org/webframe/support/util/ResourceUtils.class"); Assert.assertEquals("获取URL集合错误！", 1, lists.size()); }