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, isMetricActivated, release, skip
read
public MD5DigestCalculatingInputStream(InputStream in)
public boolean markSupported()
markSupported
in class SdkFilterInputStream
public byte[] getMd5Digest()
public void mark(int readlimit)
mark
in class SdkFilterInputStream
public void reset() throws IOException
reset
in class SdkFilterInputStream
IOException
public int read() throws IOException
read
in class SdkFilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class SdkFilterInputStream
IOException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.