static RandomAccessFile newRandomAccessFile(File path, S mode) ctex { bool forWrite = mode.indexOf('w') >= 0; if (forWrite) mkdirsForFile(path); RandomAccessFile f = new RandomAccessFile(path, mode); ifndef LeanMode callJavaX("registerIO", f, path, forWrite); endifndef ret f; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1005687 |
Snippet name: | newRandomAccessFile - registered version of new RandomAccessFile, plus mkdirs |
Eternal ID of this version: | #1005687/8 |
Text MD5: | fa7f1a8f6b1df5b9c321083e67168d98 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-03 11:56:37 |
Source code size: | 300 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 536 / 765 |
Version history: | 7 change(s) |
Referenced in: | [show references] |