public class CountingInputStream extends com.amazonaws.internal.SdkFilterInputStream
| Constructor and Description | 
|---|
| CountingInputStream(InputStream in) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getByteCount()Returns the number of bytes read from this stream so far. | 
| int | read() | 
| int | read(byte[] b,
    int off,
    int len) | 
available, close, isMetricActivated, mark, markSupported, release, reset, skipreadpublic CountingInputStream(InputStream in)
public long getByteCount()
public int read()
         throws IOException
read in class com.amazonaws.internal.SdkFilterInputStreamIOExceptionpublic int read(byte[] b,
       int off,
       int len)
         throws IOException
read in class com.amazonaws.internal.SdkFilterInputStreamIOExceptionCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.