// closes the input stream too. static void stream2file(InputStream in, File out) ctex { mkdirsForFile(out); FileOutputStream fos = new FileOutputStream(out); copyStream(in, fos); in.close(); fos.close(); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001336 |
Snippet name: | stream2file |
Eternal ID of this version: | #1001336/1 |
Text MD5: | 5ba3236b9c655e0c3a21a0b89ee5768a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-10 18:05:58 |
Source code size: | 223 bytes / 8 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 756 / 959 |
Referenced in: | [show references] |