|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.zip.Adler32
public class Adler32
The Adler32 class is used to compute the Adler32 Checksum from a set of data.
| Constructor Summary | |
|---|---|
Adler32()
|
|
| Method Summary | |
|---|---|
long |
getValue()
Returns the Adler32 checksum for all input received |
void |
reset()
Reset this instance to its initial checksum |
void |
update(byte[] buf)
Update this Adler32 checksum using the contents of buf. |
void |
update(byte[] buf,
int off,
int nbytes)
Update this Adler32 checksum with the contents of buf, starting from offset and using nbytes of data. |
void |
update(int i)
Update this Adler32 checksum using val. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Adler32()
| Method Detail |
|---|
public long getValue()
getValue in interface Checksumpublic void reset()
reset in interface Checksumpublic void update(int i)
update in interface Checksumi - byte to update checksum withpublic void update(byte[] buf)
buf - bytes to update checksum with
public void update(byte[] buf,
int off,
int nbytes)
update in interface Checksumbuf - buffer to obtain dat fromoff - offset i buf to copy fromnbytes - number of bytes from buf to use
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||