code: public static InputStream getUrlInputStream(String urlString) {
  		URL url;
  		try {
  			url = new URL(urlString);
  			HttpURLConnection con = (HttpURLConnection) url.openConnection();
  			con.connect();
  			return con.getInputStream();
  		} catch (Exception e) {
  			throw new JKException(e);
  		}
  	}
docs: Gets the url input stream.
  
  @param urlString the url string
  @return the url input stream