Package org.tukaani.xz
Class XZ
java.lang.Object
org.tukaani.xz.XZ
XZ constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Integrity check ID for CRC32.static final int
Integrity check ID for CRC64.static final int
Integrity check ID indicating that no integrity check is calculated.static final int
Integrity check ID for SHA-256.static final byte[]
XZ Footer Magic Bytes are the last bytes of a XZ Stream.static final byte[]
XZ Header Magic Bytes begin a XZ file. -
Method Summary
-
Field Details
-
HEADER_MAGIC
public static final byte[] HEADER_MAGICXZ Header Magic Bytes begin a XZ file. This can be useful to detect XZ compressed data. -
FOOTER_MAGIC
public static final byte[] FOOTER_MAGICXZ Footer Magic Bytes are the last bytes of a XZ Stream. -
CHECK_NONE
public static final int CHECK_NONEIntegrity check ID indicating that no integrity check is calculated.Omitting the integrity check is strongly discouraged except when the integrity of the data will be verified by other means anyway, and calculating the check twice would be useless.
- See Also:
-
CHECK_CRC32
public static final int CHECK_CRC32Integrity check ID for CRC32.- See Also:
-
CHECK_CRC64
public static final int CHECK_CRC64Integrity check ID for CRC64.- See Also:
-
CHECK_SHA256
public static final int CHECK_SHA256Integrity check ID for SHA-256.- See Also:
-