Coder Social home page Coder Social logo

vavi-util-archive's Introduction

Java CI CodeQL Java

vavi-util-archive

๐ŸŒ Extract the world!

extract all archive types in the same way!
archives are able to mount as fuse also using vavi-nio-file-archive and vavi-net-fuse

Status

name mathod read write comment library
binhex archiving โœ… - binhex
bzip2 archiving โœ… - commons-compress
cab archiving โœ… - dorkbox
gca archiving - - win only native
gca archiving - - shell
gzip archiving โœ… - jdk
lha archiving โœ… - lha
rar archiving - - win only native
rar archiving - - shell
rar archiving โœ…* - java-unrar
rar archiving โœ… - no rar5 junrar
sevenzip archiving โœ… - 7z only commons-compress
sevenzip archiving - - native
stuffit archiving - native
tar archiving โœ… - commons-compress
tar stream โœ… - commons-compress
zip archiving โœ…* - jdk
zip archiving โœ… - ant
cpio stream ๐Ÿšง - gjt
lzma stream ๐Ÿšง - p7zip
rpm archiving ๐Ÿšง - gjt
apache archiving โœ… - multi commons-compress

* chosen as spi

Usage

archive extraction

    Archive archive = Archives.getArchive(Paths.get("foo/bar.rar").toFile());
    Path outDir = Paths.get("foo/bar");
    for (Entry entry : archive.entries()) {
        Files.copy(archive.getInputStream(entry), outDir.resolve(entry.getName()));
    }

archive decompression

    InputStream compressed = Archives.getInputStream(Paths.get("foo/bar.tar.bz").toFile());
    Files.copy(compressed, Paths.get("foo/bar.tar"));

License

TODO

vavi-util-archive's People

Contributors

dependabot[bot] avatar umjammer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

vavi-util-archive's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.