code: protected InputStream getTemplateAsStream(URL url) throws IOException {
          URLConnection conn = url.openConnection();
          return conn.getInputStream();
      }
docs: Gets the template as stream.
  
  @param url the url of the template
  @return the input stream of the template
  @throws IOException if an I/O error has occurred