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

6
LINES

< > BotCompany Repo | #1015358 // zip_addFileInBaseDir

JavaX fragment (include)

static void zip_addFileInBaseDir(ZipOutputStream outZip, File f) ctex {
  ping();
  if (f == null || !f.isFile()) ret;
  outZip.putNextEntry(new ZipEntry(f.getName()));
  copyFileToStream(f, outZip);
}

Author comment

Began life as a copy of #1006539

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: #1015358
Snippet name: zip_addFileInBaseDir
Eternal ID of this version: #1015358/3
Text MD5: e9a3ccbbcfbef1825cef10794e368786
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 13:06:12
Source code size: 206 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 354
Version history: 2 change(s)
Referenced in: [show references]