Class SnappyInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Deprecated
    public class SnappyInputStream
    extends AbstractSnappyInputStream
    Deprecated.
    Prefer the use of SnappyFramedInputStream which implements the standard x-snappy-framed specification.
    This class implements an input stream for reading Snappy compressed data of the format produced by SnappyOutputStream.

    NOTE:This implementation cannot read compressed data produced by SnappyFramedOutputStream.

    • Constructor Detail

      • SnappyInputStream

        public SnappyInputStream​(java.io.InputStream in)
                          throws java.io.IOException
        Deprecated.
        Creates a Snappy input stream to read data from the specified underlying input stream.
        Parameters:
        in - the underlying input stream
        Throws:
        java.io.IOException
      • SnappyInputStream

        public SnappyInputStream​(java.io.InputStream in,
                                 boolean verifyChecksums)
                          throws java.io.IOException
        Deprecated.
        Creates a Snappy input stream to read data from the specified underlying input stream.
        Parameters:
        in - the underlying input stream
        verifyChecksums - if true, checksums in input stream will be verified
        Throws:
        java.io.IOException