1 | static void addFileToZip(ZipOutputStream outZip, File f, S name) ctex { |
2 | ping(); |
3 | if (f == null || !f.isFile()) ret; |
4 | temp smartZipCompressionLevel(outZip, f); |
5 | outZip.putNextEntry(new ZipEntry(name)); |
6 | copyFileToStream(f, outZip); |
7 | } |
8 | |
9 | svoid addFileToZip(ZipOutputStream outZip, File f) { |
10 | if (f == null) ret; |
11 | addFileToZip(outZip, f, f.getName()); |
12 | } |
Began life as a copy of #1015358
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018037 |
Snippet name: | addFileToZip |
Eternal ID of this version: | #1018037/5 |
Text MD5: | c0b8d52b624a577bc32e22bac809b354 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-31 21:35:16 |
Source code size: | 367 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 457 / 467 |
Version history: | 4 change(s) |
Referenced in: | [show references] |