Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.util.zip.Checksum

Implementing Classes:
Adler32, CRC32

public interface Checksum
An interface representing a data checksum.


Method Summary
long  getValue()
Returns the current checksum value.
void  reset()
Resets the checksum to its initial value.
void  update(int b)
Updates the current checksum with the specified byte.
void  update(byte[] b, int off, int len)
Updates the current checksum with the specified array of bytes.
 

Method Detail

update

public void update(int b)
Updates the current checksum with the specified byte.

update

public void update(byte[] b,
                   int off,
                   int len)
Updates the current checksum with the specified array of bytes.

getValue

public long getValue()
Returns the current checksum value.

reset

public void reset()
Resets the checksum to its initial value.

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.