java.util.zip
public class CheckedOutputStream extends FilterOutputStream
UNKNOWN: May 17, 1999
Constructor Summary | |
---|---|
CheckedOutputStream(OutputStream out, Checksum cksum)
Creates a new CheckInputStream on top of the supplied OutputStream
using the supplied Checksum. |
Method Summary | |
---|---|
Checksum | getChecksum()
Returns the Checksum object used. |
void | write(int bval)
Writes one byte to the OutputStream and updates the Checksum. |
void | write(byte[] buf, int off, int len)
Writes the byte array to the OutputStream and updates the Checksum. |
getChecksum.getValue()
.