Class UrlUtils

java.lang.Object
com.janeirodigital.sai.core.http.UrlUtils

public class UrlUtils extends Object
  • Method Details

    • stringToUrl

      public static URL stringToUrl(String urlString) throws SaiException
      Converts a string to a URL
      Parameters:
      urlString - String to convert to URL
      Returns:
      Converted URL
      Throws:
      SaiException
    • uriToUrl

      public static URL uriToUrl(URI uri) throws SaiException
      Coverts a URI to a URL
      Parameters:
      uri - URI to convert
      Returns:
      Converted URL
      Throws:
      SaiException