Class DeflateCompressor


  • class DeflateCompressor
    extends java.lang.Object
    DEFLATE (RFC 1951) compressor implementation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] compress​(byte[] input)  
      private static java.util.zip.Deflater createDeflater()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeflateCompressor

        DeflateCompressor()
    • Method Detail

      • compress

        public static byte[] compress​(byte[] input)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • createDeflater

        private static java.util.zip.Deflater createDeflater()