Interface CLNDecompressorSPIFactoryType
- All Known Implementing Classes:
CLNSupercompressionLZ4
public interface CLNDecompressorSPIFactoryType
The type of decompressor factories.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a decompressor.name()
default boolean
Determine if a compression method is supported.
-
Method Details
-
supportsDecompressionFor
Determine if a compression method is supported.- Parameters:
method
- The compression method- Returns:
true
if the compression method is supported
-
createDecompressor
Create a decompressor.- Parameters:
request
- The decompression request- Returns:
- A decompressor
- Throws:
IOException
- On errors
-
name
String name()- Returns:
- The name of the factory implementation
-
supportedDecompressionMethods
List<CLNSuperCompressionMethodType> supportedDecompressionMethods()- Returns:
- The list of the supported compression methods
-