public class MD5InputStream extends FilterInputStream
in| Constructor and Description |
|---|
MD5InputStream(InputStream in)
An InputStream that measures the number of bytes that pass through.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChecksum() |
int |
read() |
int |
read(byte[] inBytes,
int inOffset,
int inLength) |
void |
reset() |
available, close, mark, markSupported, read, skippublic MD5InputStream(InputStream in)
public int read() throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] inBytes, int inOffset, int inLength) throws IOException
read in class FilterInputStreamIOExceptionpublic void reset()
reset in class FilterInputStreampublic byte[] getChecksum()
jataylor@hairyfatguy.com