code: public static URL toURL(final String pURL) throws MalformedURLException {
      return new URL(null, pURL, sClasspathURLStreamHandler.supports(pURL) ? sClasspathURLStreamHandler : null);
    }
docs: Creates an {@link URL} based on the provided string
  @param pURL the url
  @return a {@link URL}
  @throws MalformedURLException if the url is not a proper URL