Class DummySink

    • Constructor Detail

      • DummySink

        public DummySink​(OutputStream out,
                         Deflater def,
                         int size)
        Creates a new output stream with the specified compressor and buffer size.
        Parameters:
        out - the output stream
        def - the compressor ("deflater")
        Throws:
        IllegalArgumentException - if size is <= 0
      • DummySink

        public DummySink​(OutputStream out,
                         Deflater def)
        Creates a new output stream with the specified compressor and a default buffer size.
        Parameters:
        out - the output stream
        def - the compressor ("deflater")
      • DummySink

        public DummySink​(OutputStream out)
        Creates a new output stream with a defaul compressor and buffer size.