static File copyFile(File src, File dest) ctex { FileInputStream inputStream = new FileInputStream(src.getPath()); FileOutputStream outputStream = newFileOutputStream(dest.getPath()); try { copyStream(inputStream, outputStream); inputStream.close(); } finally { outputStream.close(); } ret dest; }
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1000843 |
| Snippet name: | copyFile - returns dest |
| Eternal ID of this version: | #1000843/4 |
| Text MD5: | f2273ef3daa6893bb3c374c134993bc3 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-09-22 16:03:39 |
| Source code size: | 331 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1300 / 1999 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |