Interface CompressionCodec.Factory
- All Known Implementing Classes:
CommonsCompressionFactory
,NoCompressionCodec.Factory
- Enclosing interface:
- CompressionCodec
public static interface CompressionCodec.Factory
Factory to create compression codec.
-
Method Summary
Modifier and TypeMethodDescriptioncreateCodec
(CompressionUtil.CodecType codecType) Creates the codec based on the codec type.createCodec
(CompressionUtil.CodecType codecType, int compressionLevel) Creates the codec based on the codec type and compression level.
-
Method Details
-
createCodec
Creates the codec based on the codec type. -
createCodec
Creates the codec based on the codec type and compression level.
-