Class CompressorOutputStream<T extends java.io.OutputStream>

    • Field Summary

      • Fields inherited from class java.io.FilterOutputStream

        out
    • Constructor Summary

      Constructors 
      Constructor Description
      CompressorOutputStream()
      Constructs a new instance without a backing OutputStream.
      CompressorOutputStream​(T out)
      Creates an output stream filter built on top of the specified underlying OutputStream.
    • Constructor Detail

      • CompressorOutputStream

        public CompressorOutputStream()
        Constructs a new instance without a backing OutputStream.

        You must initialize this.out after construction.

      • CompressorOutputStream

        public CompressorOutputStream​(T out)
        Creates an output stream filter built on top of the specified underlying OutputStream.
        Parameters:
        out - the underlying output stream to be assigned to the field this.out for later use, or null if this instance is to be created without an underlying stream.
        Since:
        1.27.0