public class MD5DigestCalculatingInputStream extends SdkFilterInputStream
in
构造器和说明 |
---|
MD5DigestCalculatingInputStream(InputStream in) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
available, close, mark, markSupported, read, skip
public MD5DigestCalculatingInputStream(InputStream in) throws NoSuchAlgorithmException
public byte[] getMd5Digest()
public void reset() throws IOException
reset
在类中 FilterInputStream
IOException
InputStream.reset()
public int read() throws IOException
read
在类中 FilterInputStream
IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws IOException
read
在类中 FilterInputStream
IOException
InputStream.read(byte[], int, int)
Copyright © 2016. All rights reserved.