XZ for Java
XZ for Java aims to be a complete implementation of XZ data compression in pure Java.
Features:
- Single-threaded streamed compression and decompression.
- Random access decompression.
- Delta, BCJ (x86, ARM, ARM-Thumb, PowerPC, IA-64, SPARC), and LZMA2 filters. The ARM64 filter is complete but is not part of an official release yet.
- All check types from the .xz format (CRC32, CRC64, SHA256).
Threading is planned but has not been implemented.
Documentation
The API documentation was generated from the latest release with javadoc.
Releases
Source Code
Version 1.9 was released on 2021-03-12. See the NEWS file for a summary of changes between versions.
xz-java-1.9.zip (153 KiB) signature
Binaries
Starting from the version 1.0, XZ for Java is available in Maven Central:
groupId = org.tukaani, artifactId = xz.
Development
The project's main repository is on GitHub and is mirrored (with some delay) to git.tukaani.org.
Check out the current source code:
Licensing
Versions 1.9 and before are in the public domain. The upcoming 1.10 and later will be under the BSD Zero Clause License (0BSD).