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 ) ; } }
Gets the url input stream .