Class GzipInput

  • All Implemented Interfaces:
    Input

    public final class GzipInput
    extends Object
    implements Input
    Input that reads compressed data from the GZIP file format.
    Since:
    0.29
    • Constructor Detail

      • GzipInput

        public GzipInput​(Input input)
        Ctor.
        Parameters:
        input - The input.
      • GzipInput

        public GzipInput​(Input input,
                         int max)
        Ctor.
        Parameters:
        input - The input
        max - Max length of the buffer
    • Method Detail

      • stream

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