Top Description Constructors Methods
org.apache.commons.compress.utils

public Class CRC32VerifyingInputStream

extends ChecksumVerifyingInputStream
Class Inheritance
Imports
java.io.InputStream, java.util.zip.CRC32

A stream that verifies the CRC of the data read once the stream is exhausted.
Since
1.6

Constructor Summary

AccessConstructor and Description
public
CRC32VerifyingInputStream(final InputStream
the stream to wrap
in
,
final long
the of the stream's content
size
,
final int
the expected checksum
expectedCrc32
)

Deprecated No longer used.
Constructs a new instance.
public
CRC32VerifyingInputStream(final InputStream
the stream to wrap
in
,
final long
the of the stream's content
size
,
final long
the expected checksum
expectedCrc32
)

Constructs a new instance.

Method Summary

Inherited from org.apache.commons.compress.utils.ChecksumVerifyingInputStream:
getBytesRemainingreadread

Constructor Detail

CRC32VerifyingInputStreamback to summary
public CRC32VerifyingInputStream(final InputStream in, final long size, final int expectedCrc32)

Deprecated

No longer used.

Constructs a new instance.

Parameters
in:InputStream

the stream to wrap

size:long

the of the stream's content

expectedCrc32:int

the expected checksum

Annotations
@Deprecated
CRC32VerifyingInputStreamback to summary
public CRC32VerifyingInputStream(final InputStream in, final long size, final long expectedCrc32)

Constructs a new instance.

Parameters
in:InputStream

the stream to wrap

size:long

the of the stream's content

expectedCrc32:long

the expected checksum

Since
1.7