public class SdkBufferedInputStream extends BufferedInputStream implements MetricAware
in| Constructor and Description | 
|---|
| SdkBufferedInputStream(InputStream in) | 
| SdkBufferedInputStream(InputStream in,
                      int size) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | abort()Can be used to provide abortion logic prior to throwing the
 AbortedException. | 
| protected void | abortIfNeeded()Aborts with subclass specific abortion logic executed if needed. | 
| 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) | 
readpublic SdkBufferedInputStream(InputStream in)
public SdkBufferedInputStream(InputStream in, int size)
public boolean isMetricActivated()
MetricAwareisMetricActivated in interface MetricAwareprotected final void abortIfNeeded()
AbortedException - if found necessary.protected void abort()
public 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 Closeableclose in interface AutoCloseableclose 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 © 2023. All rights reserved.