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 classprivate 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 ICompressorControlfindCompressorControl(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:
createCompressorControlin 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
ICompressorControlto use for the specified quantize and compression algorithms and base type.
-