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();
人要耐得住寂寞,才能守得住繁华。人生最痛苦的就是拿不起放不下,不属于自己的快乐,及时放手也许是一种解脱,生活中没有谁对谁错,只有适不适合。当发现很多已经改变,更要面对的是事实。