public class MD5DigestCalculatingInputStream extends SdkFilterInputStream
| Constructor and Description |
|---|
MD5DigestCalculatingInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getMd5Digest() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset()
Resets the wrapped input stream and the in progress message digest.
|
abort, available, close, getDelegateStream, isMetricActivated, release, skipreadpublic MD5DigestCalculatingInputStream(InputStream in)
public boolean markSupported()
markSupported in class SdkFilterInputStreampublic byte[] getMd5Digest()
public void mark(int readlimit)
mark in class SdkFilterInputStreampublic void reset()
throws IOException
reset in class SdkFilterInputStreamIOExceptionpublic int read()
throws IOException
read in class SdkFilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class SdkFilterInputStreamIOException