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 output stream.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T out()
      Gets the underlying output stream.
      • Methods inherited from class java.io.FilterOutputStream

        close, flush, write, write, write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 output stream.
        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
    • Method Detail

      • out

        protected T out()
        Gets the underlying output stream.
        Returns:
        the underlying output stream.
        Since:
        1.27.0