Class Lz4ArchiveSetting
- java.lang.Object
-
- com.aspose.zip.Lz4ArchiveSetting
-
public class Lz4ArchiveSetting extends Object
Settings for LZ4 archive composition.
-
-
Constructor Summary
Constructors Constructor Description Lz4ArchiveSetting()Initializes a new instance of theLz4ArchiveSettingwith default parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetIncludeBlockChecksum()Gets a value indicating whether to include compressed xxh32 hash at the end of compressed block.booleangetIncludeContentChecksum()Gets a value indicating whether to include content xxh32 hash at the end of LZ4 archive.booleangetIncludeContentSize()Gets a value indicating whether to include the content size in the frame.voidsetIncludeBlockChecksum(boolean value)Sets a value indicating whether to include compressed xxh32 hash at the end of compressed block.voidsetIncludeContentChecksum(boolean value)Sets a value indicating whether to include content xxh32 hash at the end of LZ4 archive.voidsetIncludeContentSize(boolean value)Sets a value indicating whether to include the content size in the frame.
-
-
-
Constructor Detail
-
Lz4ArchiveSetting
public Lz4ArchiveSetting()
Initializes a new instance of the
Lz4ArchiveSettingwith default parameters.
-
-
Method Detail
-
getIncludeContentChecksum
public final boolean getIncludeContentChecksum()
Gets a value indicating whether to include content xxh32 hash at the end of LZ4 archive.
Default is true.
- Returns:
- a value indicating whether to include content xxh32 hash at the end of LZ4 archive.
-
setIncludeContentChecksum
public final void setIncludeContentChecksum(boolean value)
Sets a value indicating whether to include content xxh32 hash at the end of LZ4 archive.
Default is true.
- Parameters:
value- a value indicating whether to include content xxh32 hash at the end of LZ4 archive.
-
getIncludeBlockChecksum
public final boolean getIncludeBlockChecksum()
Gets a value indicating whether to include compressed xxh32 hash at the end of compressed block.
Default is false.
- Returns:
- a value indicating whether to include compressed xxh32 hash at the end of compressed block.
-
setIncludeBlockChecksum
public final void setIncludeBlockChecksum(boolean value)
Sets a value indicating whether to include compressed xxh32 hash at the end of compressed block.
Default is false.
- Parameters:
value- a value indicating whether to include compressed xxh32 hash at the end of compressed block.
-
getIncludeContentSize
public final boolean getIncludeContentSize()
Gets a value indicating whether to include the content size in the frame.
Default is false. Applied when the source stream is seekable.
- Returns:
- a value indicating whether to include the content size in the frame.
-
setIncludeContentSize
public final void setIncludeContentSize(boolean value)
Sets a value indicating whether to include the content size in the frame.
Default is false. Applied when the source stream is seekable.
- Parameters:
value- a value indicating whether to include the content size in the frame.
-
-