public static void getjilu() throws Exception {
bw.flush();
FileInputStream fi = new FileInputStream("jilu.txt");
// 在内存中创建缓冲区
ByteArrayOutputStream bao = new ByteArrayOutputStream();
byte[] arr = new byte[8192];
int len;
while ((len = fi.read(arr)) != -1) {
bao.write(arr, 0, len);
}
String s = bao.toString();
xs.setText(s);
fi.close();