@@ -0,0 +1,753 @@
+package org.pharmgkb.common.util;%0A%0Aimport java.net.URI;%0Aimport java.net.URL;%0Aimport java.util.Set;%0Aimport com.google.common.collect.Sets;%0A%0A%0A/**%0A * Utility methods for working with URLs.%0A *%0A * @author Mark Woon%0A */%0Apublic class UrlUtils %7B%0A  private static final Set%3CString%3E sf_webSchemes = Sets.newHashSet(%22http%22, %22https%22);%0A%0A%0A%0A  /**%0A   * Private constructor to prevent instantiation of utility class.%0A   */%0A  private UrlUtils() %7B%0A  %7D%0A%0A%0A  /**%0A   * Checks if %7B@code urlString%7D is a valid %7B@code http%7D or %7B@cdoe https%7D URL.%0A   */%0A  public static boolean isValidWebUrl(String urlString) %7B%0A%0A    try %7B%0A      URI uri = new URL(urlString).toURI();%0A      return sf_webSchemes.contains(uri.getScheme());%0A    %7D catch (Exception e) %7B%0A      return false;%0A    %7D%0A  %7D%0A%7D%0A

Add UrlUtils.