public class DigestCalculatingInputStream extends InputStream
| Constructor and Description |
|---|
DigestCalculatingInputStream(InputStream source,
String[] algorithms) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
byte[][] |
getDigests() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] dest) |
int |
read(byte[] dest,
int off,
int len) |
long |
skip(long arg0) |
mark, resetpublic DigestCalculatingInputStream(InputStream source, String[] algorithms) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic byte[][] getDigests()
public int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic int read(byte[] dest,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] dest)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long arg0)
throws IOException
skip in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2014–2019 Uniklinik RWTH Aachen. All rights reserved.