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

13
LINES

< > BotCompany Repo | #1028789 // zipToLineComp

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

Uses 11335K of libraries. Click here for Pure Java version (7963L/52K).

1  
static File zipToLineComp(File zip) {
2  
  ret zipToLineComp(zip, replaceExtension(zip, ".lc"));
3  
}
4  
5  
static File zipToLineComp(File zip, File lc) {
6  
  new LineCompCompressor comp;
7  
  comp.loadTexts(zipFileToStringMap(zip));
8  
  comp.run();
9  
  lcSaveToFile(comp, lc);
10  
  print("Zip:      " + renderFileInfo(zip));
11  
  print("LineComp: " + renderFileInfo(lc));
12  
  ret lc;
13  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028789
Snippet name: zipToLineComp
Eternal ID of this version: #1028789/4
Text MD5: abd1be87d61c19c730170a6d2acedddc
Transpilation MD5: 3d82885638f28c90d10e26b15df90563
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-08 22:24:02
Source code size: 370 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 227
Version history: 3 change(s)
Referenced in: [show references]