<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Interface java.util.zip.Checksum
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.util.zip.html">This Package</a>  <a href="Package-java.util.zip.html">Previous</a>  <a href="Package-java.util.zip.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface java.util.zip.Checksum
</h1>
<dl>
  <dt> public interface <b>Checksum</b>
</dl>
An interface representing a data checksum.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getValue()"><b>getValue</b></a>()
  <dd>  Returns the current checksum value.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#reset()"><b>reset</b></a>()
  <dd>  Resets the checksum to its initial value.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#update(byte[], int, int)"><b>update</b></a>(byte[], int, int)
  <dd>  Updates the current checksum with the specified array of bytes.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#update(int)"><b>update</b></a>(int)
  <dd>  Updates the current checksum with the specified byte.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="update(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="update"><b>update</b></a>
<pre>
 public abstract void update(int b)
</pre>
<dl>
  <dd> Updates the current checksum with the specified byte.
<p>
</dl>
<a name="update(byte[], int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="update"><b>update</b></a>
<pre>
 public abstract void update(byte b[],
                             int off,
                             int len)
</pre>
<dl>
  <dd> Updates the current checksum with the specified array of bytes.
<p>
</dl>
<a name="getValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getValue"><b>getValue</b></a>
<pre>
 public abstract long getValue()
</pre>
<dl>
  <dd> Returns the current checksum value.
<p>
</dl>
<a name="reset()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="reset"><b>reset</b></a>
<pre>
 public abstract void reset()
</pre>
<dl>
  <dd> Resets the checksum to its initial value.
<p>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.util.zip.html">This Package</a>  <a href="Package-java.util.zip.html">Previous</a>  <a href="Package-java.util.zip.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
