Class CompressorProvider

  • All Implemented Interfaces:
    ICompressorProvider

    public class CompressorProvider
    extends java.lang.Object
    implements ICompressorProvider
    Standard implementation of the ICompressorProvider interface.
    • Constructor Detail

      • CompressorProvider

        public CompressorProvider()
    • Method Detail

      • findCompressorControl

        public static ICompressorControl findCompressorControl​(java.lang.String quantAlgorithm,
                                                               java.lang.String compressionAlgorithm,
                                                               java.lang.Class<?> baseType)
      • createCompressorControl

        public ICompressorControl createCompressorControl​(java.lang.String quantAlgorithm,
                                                          java.lang.String compressionAlgorithm,
                                                          java.lang.Class<?> baseType)
        Specified by:
        createCompressorControl in interface ICompressorProvider
        Parameters:
        quantAlgorithm - the quantification algorithm to use or null if none
        compressionAlgorithm - the compression algorithm to use
        baseType - the base type of the data to (de)compress.
        Returns:
        the ICompressorControl to use for the specified quantize and compression algorithms and base type.