스트링
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
public final class Test {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
String sHtml = "";
StringBuffer sbContent = new StringBuffer();
BufferedReader in = null;
try
{
URL url = new URL("http://kin.naver.com/qna/detail.nhn?d1id=8&dirId=81302&docId=191106289");
URLConnection urlconn = url.openConnection();
in = new BufferedReader(new InputStreamReader(urlconn.getInputStream(),"UTF-8"));
while((sHtml = in.readLine()) != null)
{
//System.out.println("gg"+sHtml);
sbContent.append("\n");
sbContent.append(sHtml);
}