±Û¾´ÀÌ :ÀüÁø¹è 1998³â 7¿ù 14ÀÏ 14:25:23
In Reply to: [Q]¾ÖÇø´¿¡¼ ÈÀÏ Àбâ.....(ÀÚ¼¼ÇÑ ¼³¸í ºÎŹ) posted by À̱¤¼ö on 1998³â 7¿ù 14ÀÏ 13:01:53:
ÇÑ line ½Ä ÀÐ¾î¼ Ã³¸®ÇÏ´Â ¹æ¹ý
(stream Àº ÀÔ¸À¿¡ µû¶ó ¹Ù²Ù¼¼¿ä)
String next = null;
URL target = new URL("http://hostname/path/filename")
DataInputStream diStream = new DataInputStream(target.openStream());
while(null !=(next = diStream.readLine()) {
¿øÇϴ ó¸®
}