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

All Implemented Interfaces:
    Checksum

A class that can be used to compute the Adler-32 checksum of a data stream. An Adler-32 checksum is almost as reliable as a CRC-32 but can be computed much faster.
Constructor:
 public Adler32() 
Method from java.util.zip.Adler32 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.Adler32 Detail:
 public long getValue() 
    Returns checksum value.
 public  void reset() 
    Resets checksum to initial value.
 public  void update(int b) 
    Updates checksum 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 checksum with specified array of bytes.