1,MAIN方法
public class Range01 {
public static void main(String[] args) throws IOException {
Web();
}
public static void Web() throws IOException {
// "http://tieba.baidu.com/p/2314539885"
// URL url = new URL("http://192.168.11.130:8080/webapp/phone.html");
URL url = new URL("http://bbs.tianya.cn/post-enterprise-758850-1.shtml");
URLConnection connection = url.openConnection();
BufferedReader buffer = new BufferedReader(new InputStreamReader(
connection.getInputStream()));
String line = null;
&nb