static FileOutputStream newFileOutputStream(File path) throws IOException { ret newFileOutputStream(path.getPath()); } static FileOutputStream newFileOutputStream(S path) throws IOException { ret newFileOutputStream(path, false); } static FileOutputStream newFileOutputStream(File path, bool append) throws IOException { ret newFileOutputStream(path.getPath(), append); } static FileOutputStream newFileOutputStream(S path, bool append) throws IOException { mkdirsForFile(path); FileOutputStream f = new FileOutputStream(path, append); ifndef LeanMode _registerIO(f, path, true); endifndef ret f; }
Began life as a copy of #1005687
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005691 |
Snippet name: | newFileOutputStream - registered version of new FileOutputStream; also mkdirs() |
Eternal ID of this version: | #1005691/6 |
Text MD5: | 2ce863dee762bee6dd35b95c0e4007f4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-16 21:20:46 |
Source code size: | 638 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 645 / 879 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008012 - newFileInputStream - registered version of new FileInputStream #1031099 - newFileOutputStream_append |