07/10/12 20:50:17
import java.io.*;
import java.net.*;
public class Access {
public static void main(String[] args) {
try {
URL url = new URL("URLリンク(www.google.co.jp"));
BufferdReader br = new BufferdReader(new InputStreamReader(url.openStream()));
String str;
while((str=br.readLine())!=null)
System.out.println(str);
br.close();
} catch(IOException e) {
System.out.println(e);
}
}
}