All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.util.zip.CRC32

java.lang.Object
   |
   +----java.util.zip.CRC32

public class CRC32
extends Object
implements Checksum
A class that can be used to compute the CRC-32 of a data stream.

See Also:
Checksum

Constructor Index

 o CRC32()

Method Index

 o getValue()
Returns CRC-32 value.
 o reset()
Resets CRC-32 to initial value.
 o update(byte[])
Updates CRC-32 with specified array of bytes.
 o update(byte[], int, int)
Updates CRC-32 with specified array of bytes.
 o update(int)
Updates CRC-32 with specified byte.

Constructors

 o CRC32
    method CRC32() public 

Methods

 o update
    method update(b=int)  public     
Updates CRC-32 with specified byte.

 o update
    method update(b=byte[], -
                  off=int, -
                  len=int)  public     
Updates CRC-32 with specified array of bytes.

 o update
    method update(b=byte[])  public     
Updates CRC-32 with specified array of bytes.

 o reset
    method reset()  public     
Resets CRC-32 to initial value.

 o getValue
    method getValue() returns long public     
Returns CRC-32 value.


All Packages  Class Hierarchy  This Package  Previous  Next  Index