Save This Page
Home » openjdk-7 » java » util » zip » [javadoc | source]
java.util.zip
public interface: Checksum [javadoc | source]

All Known Implementing Classes:
    CRC32, Adler32

An interface representing a data checksum.
Method from java.util.zip.Checksum Summary:
getValue,   reset,   update,   update
Method from java.util.zip.Checksum Detail:
 public long getValue()
    Returns the current checksum value.
 public  void reset()
    Resets the checksum to its initial value.
 public  void update(int b)
    Updates the current checksum with the specified byte.
 public  void update(byte[] b,
    int off,
    int len)
    Updates the current checksum with the specified array of bytes.