API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
java.util.zip.
Adler32
View Source
Author(s)
David Connelly
Since
Version
1.29, 11/17/05
Serial
Hierarchy
Object
Adler32
Implements
Checksum
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
class Adler32
A class that can be used to compute the Adler-32 checksum of a data stream.
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.
See also:
Checksum
Constructors
public
Adler32
()
Creates a new Adler32 object.
Methods
Hide/Show inherited methods
public
long
getValue
()
[Specified in
Checksum
]
Returns checksum value.
public
void
reset
()
[Specified in
Checksum
]
Resets checksum to initial value.
public
void
update
(
byte[]
b)
Updates checksum with specified array of bytes.
public
void
update
(
byte[]
b,
int
off,
int
len)
[Specified in
Checksum
]
Updates checksum with specified array of bytes.
public
void
update
(
int
b)
[Specified in
Checksum
]
Updates checksum with specified byte.
Updates checksum with specified byte.
Parameters:
-
b
- an array of bytes
Fields
Hide/Show inherited fields
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar