public static InputStream getInputStreamFromHttp ( String httpFileURL ) throws IOException { URLConnection urlConnection = null ; urlConnection = new URL ( httpFileURL ) . openConnection ( ) ; urlConnection . connect ( ) ; return urlConnection . getInputStream ( ) ; }
Get destination web file input stream .