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

9
LINES

< > BotCompany Repo | #1008012 // newFileInputStream - registered version of new FileInputStream

JavaX fragment (include)

1  
static FileInputStream newFileInputStream(File path) throws IOException {
2  
  ret newFileInputStream(path.getPath());
3  
}
4  
5  
static FileInputStream newFileInputStream(S path) throws IOException {
6  
  FileInputStream f = new FileInputStream(path);
7  
  _registerIO(f, path, true);
8  
  ret f;
9  
}

Author comment

Began life as a copy of #1005691

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008012
Snippet name: newFileInputStream - registered version of new FileInputStream
Eternal ID of this version: #1008012/5
Text MD5: 0cc1cfd2a919d6c1bc5600623d622dbc
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:43:18
Source code size: 287 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 583 / 653
Version history: 4 change(s)
Referenced in: [show references]