Class GzipOutput

  • All Implemented Interfaces:
    Output

    public final class GzipOutput
    extends Object
    implements Output
    Output that writes compressed data in the GZIP file format.
    Since:
    0.29
    • Constructor Detail

      • GzipOutput

        public GzipOutput​(Output output)
        Ctor.
        Parameters:
        output - The output
      • GzipOutput

        public GzipOutput​(Output output,
                          int max)
        Ctor.
        Parameters:
        output - The output
        max - Max length of the buffer
    • Method Detail

      • stream

        public OutputStream stream()
                            throws Exception
        Description copied from interface: Output
        Get write access to it.
        Specified by:
        stream in interface Output
        Returns:
        OutputStream to write to
        Throws:
        Exception - If something goes wrong