@Deprecated public class CountingInputStream extends com.amazonaws.internal.SdkFilterInputStream
in| Constructor and Description |
|---|
CountingInputStream(InputStream in)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getByteCount()
Deprecated.
Returns the number of bytes read from this stream so far.
|
int |
read()
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
abort, abortIfNeeded, available, close, isMetricActivated, mark, markSupported, reset, skipreadpublic CountingInputStream(InputStream in)
in - the input stream.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 © 2018. All rights reserved.