I/O字符流

1.输出流
BufferedWriter fos = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(f_1, true),"shift-jis"));

2.输入流
BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(f_1),"shift-jis"));

你可能感兴趣的:(I/O字符流)