Class CompressorProvider
java.lang.Object
nom.tam.fits.compression.provider.CompressorProvider
- All Implemented Interfaces:
ICompressorProvider
(for internal use) Standard implementation of the
ICompressorProvider
interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
private implementation of the tile compression provider, all is based on the option based constructor of the compressors. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCompressorControl
(String quantAlgorithm, String compressionAlgorithm, Class<?> baseType) static ICompressorControl
findCompressorControl
(String quantAlgorithm, String compressionAlgorithm, Class<?> baseType)
-
Constructor Details
-
CompressorProvider
public CompressorProvider()
-
-
Method Details
-
findCompressorControl
public static ICompressorControl findCompressorControl(String quantAlgorithm, String compressionAlgorithm, Class<?> baseType) -
createCompressorControl
public ICompressorControl createCompressorControl(String quantAlgorithm, String compressionAlgorithm, Class<?> baseType) - Specified by:
createCompressorControl
in interfaceICompressorProvider
- Parameters:
quantAlgorithm
- the quantification algorithm to use or null if nonecompressionAlgorithm
- the compression algorithm to usebaseType
- the base type of the data to (de)compress.- Returns:
- the
ICompressorControl
to use for the specified quantize and compression algorithms and base type.
-