| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BrotliOptions | brotli()
Default implementation of |
| public static BrotliOptions | |
| public static DeflateOptions | deflate()
Default implementation of |
| public static DeflateOptions | deflate(int
1 yields the fastest compression and 9 yields the
best compression. 0 means no compression. The default
compression level is 6.The base two logarithm of the size of the history buffer. The
value should be in the range windowBits, int 9 to 15 inclusive.
Larger values result in better compression at the expense of
memory usage. The default value is 15.How much memory should be allocated for the internal compression
state. memLevel)1 uses minimum memory and 9 uses maximum
memory. Larger values result in better and faster compression
at the expense of memory usage. The default value is 8Create a new |
| public static GzipOptions | gzip()
Default implementation of |
| public static GzipOptions | gzip(int
1 yields the fastest compression and 9 yields the
best compression. 0 means no compression. The default
compression level is 6.The base two logarithm of the size of the history buffer. The
value should be in the range windowBits, int 9 to 15 inclusive.
Larger values result in better compression at the expense of
memory usage. The default value is 15.How much memory should be allocated for the internal compression
state. memLevel)1 uses minimum memory and 9 uses maximum
memory. Larger values result in better and faster compression
at the expense of memory usage. The default value is 8Create a new |
| public static SnappyOptions | |
| public static ZstdOptions | zstd()
Default implementation of |
| public static ZstdOptions | zstd(int
specifies the level of the compression compressionLevel, int is used to calculate the compressionLevel blockSize, int specifies the size of the largest compressed object maxEncodeSize)Create a new |
| StandardCompressionOptions | back to summary |
|---|---|
| private StandardCompressionOptions() | |
| brotli | back to summary |
|---|---|
| public static BrotliOptions brotli() Default implementation of | |
| brotli | back to summary |
|---|---|
| public static BrotliOptions brotli(Encoder. Create a new
| |
| deflate | back to summary |
|---|---|
| public static DeflateOptions deflate() Default implementation of | |
| deflate | back to summary |
|---|---|
| public static DeflateOptions deflate(int compressionLevel, int windowBits, int memLevel) Create a new
| |
| gzip | back to summary |
|---|---|
| public static GzipOptions gzip() Default implementation of | |
| gzip | back to summary |
|---|---|
| public static GzipOptions gzip(int compressionLevel, int windowBits, int memLevel) Create a new
| |
| snappy | back to summary |
|---|---|
| public static SnappyOptions snappy() Create a new | |
| zstd | back to summary |
|---|---|
| public static ZstdOptions zstd() Default implementation of | |
| zstd | back to summary |
|---|---|
| public static ZstdOptions zstd(int compressionLevel, int blockSize, int maxEncodeSize) Create a new
| |