public class MD5DigestCalculatingInputStream extends FilterInputStream
in
Constructor and Description |
---|
MD5DigestCalculatingInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getMd5Digest()
計算したMd5ダイジェスト値を返します
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset()
ラップした入力ストリームおよびメッセージのダイジェスト計算をリセットします
|
available, close, mark, markSupported, read, skip
public MD5DigestCalculatingInputStream(InputStream in) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public byte[] getMd5Digest()
public void reset() throws IOException
reset
in class FilterInputStream
IOException
InputStream.reset()
public int read() throws IOException
read
in class FilterInputStream
IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
InputStream.read(byte[], int, int)
Copyright © 2018. All rights reserved.