package TestIO;
import java.io.*;
public class Test01 {
public static void main(String[] args) throws Exception {
//
FileReader fr = new FileReader("C:/Users/张东林/Desktop/中国电视台直播源.txt");
char[] chars= new char[512];
int temp = 0;
while( (temp = fr.read(chars)) != -1 ){
System.out.print(new String(chars,0,temp));
}
fr.close();
}
}