public static List<String> getUrls(String path, ClassLoader classLoader) {
		if (classLoader == null) {
			classLoader = ClassUtils.getDefaultClassLoader();
		}
		path = StringUtils.cleanPath(path);
		try {
			return getUrlsFromWildcardPath(path, classLoader);
		}
		catch (Exception ex) {
			throw new IllegalArgumentException(
					"Cannot create URL from path [" + path + "]", ex);
		}
	}
public static List < String > getUrls ( String path , ClassLoader classLoader ) { if ( classLoader == null ) { classLoader = ClassUtils . getDefaultClassLoader ( ) ; } path = StringUtils . cleanPath ( path ) ; try { return getUrlsFromWildcardPath ( path , classLoader ) ; } catch ( Exception ex ) { throw new IllegalArgumentException ( "Cannot create URL from path [" + path + "]" , ex ) ; } }
Return URLs from a given source path. Source paths can be simple file locations
(/some/file.java) or wildcard patterns (/some/**). Additionally the prefixes
"file:", "classpath:" and "classpath*:" can be used for specific path types.
@param path the source path
@param classLoader the class loader or {@code null} to use the default
@return a list of URLs