FileInputStream fis=new FileInputStream("C:/atlog.txt");
//在创建高层流时将低层流通过构造子传到高层流中
BufferedInputStream bis=new BufferedInputStream(fis);
byte bytes[]=new byte[1024*1024];//相当于1M
int result=bis.read(bytes);
while(result!=-1)
{
String temp=new String(bytes,0,result);
System.out.print(temp);
result=bis.read(bytes);
}是这个样子?