@Test public void testIsForResourceWithExtensionWithMatchingExtension() throws Exception { assertTrue(URLUtil.isForResourceWithExtension(new URL("http: }
public static boolean isForResourceWithExtension(URL url, String extension) { return url != null && !Util.isBlank(extension) && url.getPath().endsWith(extension); }
URLUtil { public static boolean isForResourceWithExtension(URL url, String extension) { return url != null && !Util.isBlank(extension) && url.getPath().endsWith(extension); } }
URLUtil { public static boolean isForResourceWithExtension(URL url, String extension) { return url != null && !Util.isBlank(extension) && url.getPath().endsWith(extension); }  }
URLUtil { public static boolean isForResourceWithExtension(URL url, String extension) { return url != null && !Util.isBlank(extension) && url.getPath().endsWith(extension); }  static boolean isHttpsUrl(URL url); static boolean isHttpUrl(URL url); static boolean isFileUrl(URL url); static boolean isForResourceWithExtension(URL url, String extension); static URL stripQuery(URL url); static File urlToFile(URL url); static URL fromString(String urlString); static URL fromString(String urlString, String protocol); static URL fromObject(Object source); static URI toURI(URL url); static String addQueryParameter(String urlString, String queryParameter); static String addQueryParameterIfMissing(String urlString, String queryParameter, boolean ignoreCase); static boolean hasQueryParameter(String urlString, String queryParameter, boolean ignoreCase); }
URLUtil { public static boolean isForResourceWithExtension(URL url, String extension) { return url != null && !Util.isBlank(extension) && url.getPath().endsWith(extension); }  static boolean isHttpsUrl(URL url); static boolean isHttpUrl(URL url); static boolean isFileUrl(URL url); static boolean isForResourceWithExtension(URL url, String extension); static URL stripQuery(URL url); static File urlToFile(URL url); static URL fromString(String urlString); static URL fromString(String urlString, String protocol); static URL fromObject(Object source); static URI toURI(URL url); static String addQueryParameter(String urlString, String queryParameter); static String addQueryParameterIfMissing(String urlString, String queryParameter, boolean ignoreCase); static boolean hasQueryParameter(String urlString, String queryParameter, boolean ignoreCase);  }