OutputStream out = System.out;
OutputStreamWriter osw = new OutputStreamWriter(out);
BufferedWriter w = new BufferedWriter(osw);
osw.write(line.toUpperCase());
osw.newLine();
osw.fulsh();
-------------------------
BufferedWriter bufw = new BufferedWriter(new OutputStreamWriter(System.out));
字符通向字节流的桥梁---- OutputStreamWriter,布布扣,bubuko.com
字符通向字节流的桥梁---- OutputStreamWriter
原文地址:http://www.cnblogs.com/nophy/p/3862740.html