@Deprecated public class CountingInputStream extends SdkFilterInputStream
Constructor and Description |
---|
CountingInputStream(java.io.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, skip
public CountingInputStream(java.io.InputStream in)
in
- the input stream.public long getByteCount()
public int read() throws java.io.IOException
read
in class SdkFilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class SdkFilterInputStream
java.io.IOException