public class MD5DigestCalculatingInputStream extends SdkFilterInputStream
in| Constructor and Description |
|---|
MD5DigestCalculatingInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getMd5Digest() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset()
Resets the wrapped input stream and the in progress message digest.
|
isMetricActivatedavailable, close, mark, markSupported, read, skippublic MD5DigestCalculatingInputStream(InputStream in) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic byte[] getMd5Digest()
public void reset()
throws IOException
reset in class FilterInputStreamIOExceptionInputStream.reset()public int read()
throws IOException
read in class FilterInputStreamIOExceptionInputStream.read()public int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionInputStream.read(byte[], int, int)Copyright © 2016. All rights reserved.