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

14
LINES

< > BotCompany Repo | #1033492 // zip2uncompressedZip

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

Libraryless. Click here for Pure Java version (4893L/27K).

static File zip2uncompressedZip(File in) {
  ret zip2uncompressedZip(in, appendToBaseName(in, ".uncompressed"));
}

static File zip2uncompressedZip(File in, File out) {
  {
    temp var zipOut = zipOutputStream(out);
    zipOut.setMethod(ZipOutputStream.STORED);
    zip2zip_stored(in, zipOut);
  }
  print("Converted " + renderFileInfo(in) + " (deflated) to "
    + renderFileInfo(out) + " (stored)";
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033492
Snippet name: zip2uncompressedZip
Eternal ID of this version: #1033492/5
Text MD5: 92a2c1acc621457ab4c9c12667120f82
Transpilation MD5: be48621bcd72b5bd662b70c07a2f4461
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-29 06:37:03
Source code size: 427 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 95 / 152
Version history: 4 change(s)
Referenced in: [show references]