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

18
LINES

< > BotCompany Repo | #1024650 // 7z decompress test (sadly doesn't work in Java yet)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 578K of libraries. Click here for Pure Java version (6794L/49K).

!7

!include #1024944 // Apache Commons Compres

lib 1400255 // xz-1.8.jar 

import org.apache.commons.compress.archivers.sevenz.*;
import org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream;

p-exp {
  SevenZFile archive = new(loadLibrary(#1400249));
  SevenZArchiveEntry e;
  while not null (e = archive.getNextEntry()) {
    print("Entry: " + e);
    //LZMACompressorInputStream
  }
  archive.close();
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024650
Snippet name: 7z decompress test (sadly doesn't work in Java yet)
Eternal ID of this version: #1024650/7
Text MD5: 4577bce23412740bd101b0a6e35eb698
Transpilation MD5: 6b765e37a419c9a55d12c036e0217f8f
Author: stefan
Category: javax / io
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-31 13:25:42
Source code size: 442 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 338 / 976
Version history: 6 change(s)
Referenced in: [show references]