code: public static InputStream inputStream(URL url) {
          try {
              return url.openStream();
          } catch (IOException e) {
              throw E.ioException(e);
          }
      }
docs: Create an input stream from a URL.
  
  @param url
  the URL.
  @return the new inputstream.