InputStream in = 输入流;
byte[] buf = new byte[1024];
int size = 0;
while((size = in.read(buf))!= -1){
String str = new String(buf,0,size);
System.out.println(str);
}
in.close();
byte[] buf = new byte[1024];
int size = 0;
while((size = in.read(buf))!= -1){
String str = new String(buf,0,size);
System.out.println(str);
}
in.close();