글쓴이 :전진배 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()) {
원하는 처리
}