Lines Matching full:xz
10 package org.tukaani.xz;
17 import org.tukaani.xz.common.DecoderUtil;
18 import org.tukaani.xz.common.StreamFlags;
19 import org.tukaani.xz.check.Check;
20 import org.tukaani.xz.index.IndexDecoder;
21 import org.tukaani.xz.index.BlockInfo;
24 * Decompresses a .xz file in random access mode.
25 * This supports decompressing concatenated .xz files.
27 * Each .xz file consist of one or more Streams. Each Stream consist of zero
30 * class. A typical .xz file has only one Stream, and parsing its Index will
33 * To make random access possible, the data in a .xz file must be splitted
56 * <h4>Creating random-accessible .xz files</h4>
64 * liblzma in XZ Utils supports starting a new Block with
65 * <code>LZMA_FULL_FLUSH</code>. XZ Utils 5.1.1alpha added threaded
66 * compression which creates multi-Block .xz files. XZ Utils 5.1.1alpha
67 * also added the option <code>--block-size=SIZE</code> to the xz command
68 * line tool. XZ Utils 5.1.2alpha added a partial implementation of
83 * The input stream containing XZ compressed data.
119 * Uncompressed size of the largest XZ Block in the file.
124 * Number of XZ Blocks in the file.
141 * Integrity Check in the current XZ Stream. The constructor leaves
152 * Decoder of the current XZ Block, if any.
190 * Creates a new seekable XZ decompressor without a memory usage limit.
193 * XZ Streams; the whole input stream is used
196 * input is not in the XZ format
199 * XZ data is corrupt or truncated
202 * XZ headers seem valid but they specify
219 * Creates a new seekable XZ decompressor without a memory usage limit.
226 * XZ Streams; the whole input stream is used
231 * input is not in the XZ format
234 * XZ data is corrupt or truncated
237 * XZ headers seem valid but they specify
256 * Creates a new seekable XZ decomporessor with an optional
260 * XZ Streams; the whole input stream is used
267 * input is not in the XZ format
270 * XZ data is corrupt or truncated
273 * XZ headers seem valid but they specify
277 * decoded XZ Indexes would need more memory
294 * Creates a new seekable XZ decomporessor with an optional
302 * XZ Streams; the whole input stream is used
311 * input is not in the XZ format
314 * XZ data is corrupt or truncated
317 * XZ headers seem valid but they specify
321 * decoded XZ Indexes would need more memory
341 * Creates a new seekable XZ decomporessor with an optional
348 * <li>Trying to recover data from a corrupt .xz file.</li>
361 * XZ Streams; the whole input stream is used
372 * input is not in the XZ format
375 * XZ data is corrupt or truncated
378 * XZ headers seem valid but they specify
382 * decoded XZ Indexes would need more memory
402 * Creates a new seekable XZ decomporessor with an optional
411 * XZ Streams; the whole input stream is used
424 * input is not in the XZ format
427 * XZ data is corrupt or truncated
430 * XZ headers seem valid but they specify
434 * decoded XZ Indexes would need more memory
458 byte[] buf = new byte[XZ.HEADER_MAGIC.length]; in SeekableXZInputStream()
460 if (!Arrays.equals(buf, XZ.HEADER_MAGIC)) in SeekableXZInputStream()
468 "XZ file size is not a multiple of 4 bytes"); in SeekableXZInputStream()
500 "Backward Size in XZ Stream Footer is too big"); in SeekableXZInputStream()
537 // Calculate the offset to the beginning of this XZ Stream and in SeekableXZInputStream()
541 throw new CorruptedInputException("XZ Index indicates " in SeekableXZInputStream()
542 + "too big compressed size for the XZ Stream"); in SeekableXZInputStream()
555 "XZ Stream Footer does not match Stream Header"); in SeekableXZInputStream()
561 throw new UnsupportedOptionsException("XZ file is too big"); in SeekableXZInputStream()
567 "XZ file has over " + Integer.MAX_VALUE + " Blocks"); in SeekableXZInputStream()
604 * Gets the types of integrity checks used in the .xz file.
606 * concatenated XZ Streams.
610 * <code>(1 << XZ.CHECK_CRC64)
611 * | (1 << XZ.CHECK_SHA256)</code>.
619 * the data structures needed to locate the XZ Blocks.
628 * Gets the uncompressed size of the largest XZ Block in bytes.
630 * have huge XZ Blocks which could make seeking to arbitrary offsets
640 * Gets the number of Streams in the .xz file.
649 * Gets the number of Blocks in the .xz file.
687 * the underlying .xz file.
929 * XZ Streams, the total uncompressed size of all XZ Streams is returned.
975 * Seeks to the beginning of the given XZ Block.
989 throw new XZIOException("Invalid XZ Block number: " + blockNumber); in seekToBlock()
1106 "Invalid XZ Block number: " + blockNumber);