public class DigestInputStream
extends java.io.FilterInputStream
Constructor and Description |
---|
DigestInputStream(java.io.InputStream stream,
Digest digest) |
Modifier and Type | Method and Description |
---|---|
Digest |
getDigest() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
protected Digest digest
public DigestInputStream(java.io.InputStream stream, Digest digest)
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public Digest getDigest()