public class TreeHashInputStream
extends java.io.FilterInputStream
| コンストラクタと説明 |
|---|
TreeHashInputStream(java.io.InputStream in) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close() |
java.util.List<byte[]> |
getChecksums()
Returns the list of one-megabyte checksums for this input stream.
|
java.lang.String |
getTreeHash() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
public TreeHashInputStream(java.io.InputStream in)
throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmExceptionpublic java.util.List<byte[]> getChecksums()
throws java.io.IOException
java.io.IOException - If the stream hasn't been closed.public java.lang.String getTreeHash()
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read クラス内 java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read クラス内 java.io.FilterInputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close インタフェース内 java.io.Closeableclose インタフェース内 java.lang.AutoCloseableclose クラス内 java.io.FilterInputStreamjava.io.IOException