标签:io ar os sp java 文件 on as new
File file = new File(...); try { FileOutputStream fout = new FileOutputStream(file); PrintWriter pWriter = new PrintWriter(fout); pWriter.println("some text"); pWriter.flush(); pWriter.close(); fout.close(); } catch(IOException re) { }
标签:io ar os sp java 文件 on as new
原文地址:http://my.oschina.net/u/913208/blog/349850