Class DeflateCompressorOutputStream

    • Constructor Detail

      • DeflateCompressorOutputStream

        public DeflateCompressorOutputStream​(OutputStream outputStream)
                                      throws IOException
        Creates a Deflate compressed output stream with the default parameters.
        Parameters:
        outputStream - the stream to wrap
        Throws:
        IOException - on error
      • DeflateCompressorOutputStream

        public DeflateCompressorOutputStream​(OutputStream outputStream,
                                             DeflateParameters parameters)
                                      throws IOException
        Creates a Deflate compressed output stream with the specified parameters.
        Parameters:
        outputStream - the stream to wrap
        parameters - the deflate parameters to apply
        Throws:
        IOException - on error