FileOutputStream写出数据实现换行和追加写入

 FileOutputStream fos =  fos = new FileOutputStream(Utils.getData(bizCtx,"strcat(getenv(HWORKDIR),/data/baofu/,$chk_file_nm)"), true);;
fos.write(line1.getBytes());
String huanhang = System.getProperty("line.separator");
fos.write(huanhang.getBytes());
fos.flush();
fos.close();
上一篇:Alpha阶段第三次Scrum Meeting


下一篇:shell脚本中执行mysql sql脚本文件并传递参数