public class TreeHashInputStream extends SdkFilterInputStream
| Constructor and Description | 
|---|
| TreeHashInputStream(InputStream in) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| List<byte[]> | getChecksums()Returns the list of one-megabyte checksums for this input stream. | 
| String | getTreeHash() | 
| int | read() | 
| int | read(byte[] b,
    int off,
    int len) | 
abort, available, isMetricActivated, mark, markSupported, release, reset, skipreadpublic TreeHashInputStream(InputStream in) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic List<byte[]> getChecksums() throws IOException
IOException - If the stream hasn't been closed.public String getTreeHash() throws IOException
IOExceptionpublic int read()
         throws IOException
read in class SdkFilterInputStreamIOExceptionpublic int read(byte[] b,
                int off,
                int len)
         throws IOException
read in class SdkFilterInputStreamIOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SdkFilterInputStreamIOExceptionCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.