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

9
LINES

< > BotCompany Repo | #1011612 // gzipFile - keeps original

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2602L/17K).

static void gzipFile(File in, File out) ctex {
  saveStreamToGZFile(newFileInputStream(in), out);
}

static File gzipFile(File in) {
  File out = appendToFileName(in, ".gz");
  gzipFile(in, out);
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1011612
Snippet name: gzipFile - keeps original
Eternal ID of this version: #1011612/5
Text MD5: 851ee5bc263ba16d11c49447f073c133
Transpilation MD5: ab7ef55ba728ab00acf47cf07f0420c0
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-25 21:52:27
Source code size: 216 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 418 / 459
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012162 - gunzipFile