2015. 1. 16. 21:57
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
package IO;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
public class BufferedInputStream00 {
public static void main(String[] args) throws Exception{
File file=new File("/org.txt");
FileInputStream fin=new FileInputStream(file);
BufferedInputStream bin=new BufferedInputStream(fin);
while(bin.available()>0){
System.out.println((char)bin.read());
}
bin.close();
}
}
'Java' 카테고리의 다른 글
BufferedReader(Reader in) (0) | 2015.01.16 |
---|---|
BufferedOutputStream : write(byte[] b, int off, int len) (0) | 2015.01.16 |
ProcessBuilder : start() (0) | 2015.01.14 |
Collections : swap ( List list, int i, int j ) (0) | 2015.01.14 |
Collections : reverseOrder() (0) | 2015.01.14 |