Class UrlUtils

java.lang.Object
dev.getelements.elements.sdk.spi.UrlUtils

public class UrlUtils extends Object
  • Method Details

    • toUrl

      public static URL toUrl(String uriString)
      Converts the supplied string to a URL which will load its authority segment as text.
      Parameters:
      uriString - the uri string
      Returns:
      the URL
    • toUrls

      public static Enumeration<URL> toUrls(String... uriStrings)
      Converts the supplied list of strings to URLs.
      Parameters:
      uriStrings - the URI strings
      Returns:
      an Enumeration of URLs