Closeable, AutoCloseable, MetricAwarepublic class SdkBufferedInputStream extends BufferedInputStream implements MetricAware
| Constructor | Description |
|---|---|
SdkBufferedInputStream(InputStream in) |
|
SdkBufferedInputStream(InputStream in,
int size) |
| Modifier and Type | Method | 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) |
readreadAllBytes, readNBytes, transferTopublic SdkBufferedInputStream(InputStream in)
public SdkBufferedInputStream(InputStream in, int size)
public boolean isMetricActivated()
MetricAwareisMetricActivated in interface MetricAwarepublic int read()
throws IOException
read in class BufferedInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class BufferedInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class BufferedInputStreamIOExceptionpublic int available()
throws IOException
available in class BufferedInputStreamIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class BufferedInputStreamIOExceptionpublic void mark(int readlimit)
mark in class BufferedInputStreampublic void reset()
throws IOException
reset in class BufferedInputStreamIOExceptionpublic boolean markSupported()
markSupported in class BufferedInputStreamCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.