Documentation of 'org.apache.commons.compress.utils.CRC32VerifyingInputStream' Java class
CRC32VerifyingInputStream
org.apache.commons.compress.utils

Class CRC32VerifyingInputStream

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


    public class CRC32VerifyingInputStream
    extends ChecksumVerifyingInputStream
    A stream that verifies the CRC of the data read once the stream is exhausted.
    Since:
    1.6
    • Method Summary

      • Methods inherited from class java.io.InputStream

        available, mark, markSupported, reset
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CRC32VerifyingInputStream

        public CRC32VerifyingInputStream(java.io.InputStream in,
                                         long size,
                                         int expectedCrc32)
        Parameters:
        in - the stream to wrap
        size - the of the stream's content
        expectedCrc32 - the expected checksum
      • CRC32VerifyingInputStream

        public CRC32VerifyingInputStream(java.io.InputStream in,
                                         long size,
                                         long expectedCrc32)
        Parameters:
        in - the stream to wrap
        size - the of the stream's content
        expectedCrc32 - the expected checksum
        Since:
        1.7

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.