Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

2
LINES

< > BotCompany Repo | #1017245 // _registerIO - register I/O access (creation of FileInputStream/FileOutputStream etc.) - normally empty

JavaX fragment (include)

1  
svoid _registerIO(O object, S path, bool opened) {
2  
}

Author comment

opened=true -> resource was opened
opened=false -> resource was closed
path may be empty on close.
Also non-file streams may be reported as closed (simplifies management elsewhere)

download  show line numbers  debug dex  old transpilations   

Travelled to 19 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1017245
Snippet name: _registerIO - register I/O access (creation of FileInputStream/FileOutputStream etc.) - normally empty
Eternal ID of this version: #1017245/8
Text MD5: 5b4e2a3e8ec7bcc318371014210c6f94
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-15 15:52:08
Source code size: 53 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 429 / 1031
Version history: 7 change(s)
Referenced in: [show references]