Here you can find the source of openURLStream(String in)
public static InputStream openURLStream(String in) throws IOException
//package com.java2s; //License from project: Apache License import java.net.URL; import java.io.*; public class Main { public static InputStream openURLStream(String in) throws IOException { URL inUrl = new URL(in); InputStream ret = inUrl.openStream(); return (ret); }/*from www.j av a2s. c o m*/ }