1 | static File optExtractFileFromZipToDir(File zip, File dir, S name) { |
2 | File f = newFile(dir, name); |
3 | if (f.exists()) ret f; |
4 | extractFileFromZip(zip, name, f); |
5 | ret f; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022669 |
Snippet name: | optExtractFileFromZipToDir (if not there yet) |
Eternal ID of this version: | #1022669/1 |
Text MD5: | ae4b8d800c0c901d8c1b274833a37ce5 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-31 15:39:53 |
Source code size: | 178 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 294 / 329 |
Referenced in: | [show references] |