| 1 | // SPDX-License-Identifier: 0BSD |
| 2 | // SPDX-FileCopyrightText: The XZ for Java authors and contributors |
| 3 | // SPDX-FileContributor: Lasse Collin <[email protected]> |
| 4 | |
| 5 | /** |
| 6 | * XZ data compression support. |
| 7 | * |
| 8 | * <h2>Introduction</h2> |
| 9 | * <p> |
| 10 | * This aims to be a complete implementation of XZ data compression |
| 11 | * in pure Java. Features: |
| 12 | * <ul> |
| 13 | * <li>Full support for the .xz file format specification version 1.2.1</li> |
| 14 | * <li>Single-threaded streamed compression and decompression</li> |
| 15 | * <li>Single-threaded decompression with limited random access support</li> |
| 16 | * <li>Raw streams (no .xz headers) for advanced users, including LZMA2 |
| 17 | * with preset dictionary</li> |
| 18 | * </ul> |
| 19 | * <p> |
| 20 | * Threading is planned but it is unknown when it will be implemented. |
| 21 | * <p> |
| 22 | * For the latest source code, see the |
| 23 | * <a href="https://tukaani.org/xz/java.html">home page of XZ for Java</a>. |
| 24 | * |
| 25 | * <h2>Getting started</h2> |
| 26 | * <p> |
| 27 | * Start by reading the documentation of {@link org.tukaani.xz.XZOutputStream} |
| 28 | * and {@link org.tukaani.xz.XZInputStream}. |
| 29 | * If you use XZ inside another file format or protocol, |
| 30 | * see also {@link org.tukaani.xz.SingleXZInputStream}. |
| 31 | * |
| 32 | * <h2>Authors</h2> |
| 33 | * XZ for Java is developed and maintained by Lasse Collin. |
| 34 | * <p> |
| 35 | * Major parts of XZ for Java are based on code written by |
| 36 | * Igor Pavlov in the <a href="https://7-zip.org/sdk.html">LZMA SDK</a>. |
| 37 | * <p> |
| 38 | * Other authors: |
| 39 | * <ul> |
| 40 | * <li>Brett Okken |
| 41 | * </ul> |
| 42 | * <p> |
| 43 | * Many people have contributed improvements or reported bugs. |
| 44 | * Most of these people are mentioned in the file THANKS.md |
| 45 | * in the source package. |
| 46 | * |
| 47 | * <h2>License</h2> |
| 48 | * <p> |
| 49 | * Copyright © The XZ for Java authors and contributors |
| 50 | * <p> |
| 51 | * Permission to use, copy, modify, and/or distribute this |
| 52 | * software for any purpose with or without fee is hereby granted. |
| 53 | * <p> |
| 54 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 55 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 56 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL |
| 57 | * THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR |
| 58 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM |
| 59 | * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
| 60 | * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 61 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 62 | */ |
| 63 | package org.tukaani.xz; |