public class SdkBufferedInputStream extends BufferedInputStream implements MetricAware
| Constructor and Description |
|---|
SdkBufferedInputStream (InputStream in) |
SdkBufferedInputStream (InputStream in,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
available () |
void |
close () |
boolean |
isMetricActivated ()
Returns true if this object or one of it's inner wrapped objects has
metrics gathering activity turned on; false otherwise.
|
void |
mark (int readlimit) |
boolean |
markSupported () |
int |
read () |
int |
read (byte[] b,
int off,
int len) |
void |
reset () |
long |
skip (long n) |
read public SdkBufferedInputStream(InputStream in)
public SdkBufferedInputStream(InputStream in, int size)
public boolean isMetricActivated()
MetricAware isMetricActivated in interface MetricAware public int read() throws IOException
read in class BufferedInputStream IOException public int read(byte[] b, int off, int len) throws IOException
read in class BufferedInputStream IOException public long skip(long n) throws IOException
skip in class BufferedInputStream IOException public int available() throws IOException
available in class BufferedInputStream IOException public void close() throws IOException
close in interface Closeable close in interface AutoCloseable close in class BufferedInputStream IOException public void mark(int readlimit)
mark in class BufferedInputStream public void reset() throws IOException
reset in class BufferedInputStream IOException public boolean markSupported()
markSupported in class BufferedInputStream