public class DigestInputStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected Digest |
digest |
in| Constructor and Description |
|---|
DigestInputStream(InputStream stream,
Digest digest) |
| Modifier and Type | Method and Description |
|---|---|
Digest |
getDigest() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skipprotected Digest digest
public DigestInputStream(InputStream stream, Digest digest)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic Digest getDigest()
Copyright © 2015. All rights reserved.