Skip to content

πŸ—œοΈ Integrated Archiving method SPI for Java (d88, asar, xar, arj)

Notifications You must be signed in to change notification settings

umjammer/vavi-util-archive-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

86 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Release Java CI CodeQL Java Parent

vavi-util-archive-sandbox

🌏 Extract the world more!

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
d88 archiving βœ… -
rar archiving - - COM jacob
rar archiving 🚧 - unrar c port
stuffit archiving 🚧 - unsit c port
cab archiving - - COM jacob
cab archiving βœ… - KBA
cab archiving 🚧 - ibex
asar archiving βœ…* - fail at file size is smaller than spec asar
asar archiving 🚧 - json paser too much strict asar4j
xar archiving βœ… - xar
arj archiving - - COM jacob
arj archiving 🚧 - c
arj archiving βœ…* - unsupported files exist commons-compress
archiveR streaming 🚧 - TODO engine.io-nize ArchiveR
sevenzip archiving βœ… - multi, arm64 not supported sevenzipjbinding

* chosen as spi

Install

Usage

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

License

TODO

  • make it enable to compile
  • asar