Save This Page
Home » openjdk-7 » java » util » zip » [javadoc | source]
java.util.zip
public class: CRC32 [javadoc | source]
java.lang.Object
   java.util.zip.CRC32

All Implemented Interfaces:
    Checksum

A class that can be used to compute the CRC-32 of a data stream.
Constructor:
 public CRC32() 
Method from java.util.zip.CRC32 Summary:
getValue,   reset,   update,   update,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.zip.CRC32 Detail:
 public long getValue() 
    Returns CRC-32 value.
 public  void reset() 
    Resets CRC-32 to initial value.
 public  void update(int b) 
    Updates CRC-32 with specified byte.
 public  void update(byte[] b) 
    Updates checksum with specified array of bytes.
 public  void update(byte[] b,
    int off,
    int len) 
    Updates CRC-32 with specified array of bytes.