Interface DeflateOption.Builder
- Enclosing class:
- DeflateOption
public static interface DeflateOption.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a newDeflateOption
.compressionLevel
(int compressionLevel) Sets the deflate compression level.memoryLevel
(int memoryLevel) Sets the deflate memory level.windowBits
(int windowBits) Sets the deflate window bits.
-
Method Details
-
build
DeflateOption build()Build a newDeflateOption
.- Returns:
- a new
DeflateOption
-
compressionLevel
Sets the deflate compression level.- Returns:
- a new
DeflateOption.Builder
-
memoryLevel
Sets the deflate memory level.- Returns:
- a new
DeflateOption.Builder
-
windowBits
Sets the deflate window bits.- Returns:
- a new
DeflateOption.Builder
-