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).

1  
static void gzipFile(File in, File out) ctex {
2  
  saveStreamToGZFile(newFileInputStream(in), out);
3  
}
4  
5  
static File gzipFile(File in) {
6  
  File out = appendToFileName(in, ".gz");
7  
  gzipFile(in, out);
8  
  ret out;
9  
}

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: 529 / 579
Version history: 4 change(s)
Referenced in: [show references]