public class StreamWithMD5Decorator extends InputStream
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
MD5Checksum |
md5() |
static StreamWithMD5Decorator |
of(InputStream inputStream) |
int |
read() |
available, mark, markSupported, read, read, reset, skippublic static StreamWithMD5Decorator of(InputStream inputStream) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic MD5Checksum md5()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2021. All rights reserved.