Lz4ArchiveSetting
Inheritance: java.lang.Object
public class Lz4ArchiveSetting
Settings for LZ4 archive composition.
Constructors
| Constructor | Description |
|---|---|
| Lz4ArchiveSetting() | Initializes a new instance of the Lz4ArchiveSetting with default parameters. |
Methods
| Method | Description |
|---|---|
| getIncludeBlockChecksum() | Gets a value indicating whether to include compressed xxh32 hash at the end of compressed block. |
| getIncludeContentChecksum() | Gets a value indicating whether to include content xxh32 hash at the end of LZ4 archive. |
| getIncludeContentSize() | Gets a value indicating whether to include the content size in the frame. |
| setIncludeBlockChecksum(boolean value) | Sets a value indicating whether to include compressed xxh32 hash at the end of compressed block. |
| setIncludeContentChecksum(boolean value) | Sets a value indicating whether to include content xxh32 hash at the end of LZ4 archive. |
| setIncludeContentSize(boolean value) | Sets a value indicating whether to include the content size in the frame. |
Lz4ArchiveSetting()
public Lz4ArchiveSetting()
Initializes a new instance of the Lz4ArchiveSetting with default parameters.
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: boolean - a value indicating whether to include compressed xxh32 hash at the end of compressed block.
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: boolean - a value indicating whether to include content xxh32 hash at the end of LZ4 archive.
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: boolean - a value indicating whether to include the content size in the frame.
setIncludeBlockChecksum(boolean value)
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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether to include compressed xxh32 hash at the end of compressed block. |
setIncludeContentChecksum(boolean value)
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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether to include content xxh32 hash at the end of LZ4 archive. |
setIncludeContentSize(boolean value)
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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether to include the content size in the frame. |