public class SdkBufferedInputStream extends BufferedInputStream
in| 构造器和说明 |
|---|
SdkBufferedInputStream(InputStream in) |
SdkBufferedInputStream(InputStream in,
int size) |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
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)
protected final void abortIfNeeded()
AbortedException - if found necessary.protected void abort()
public int read()
throws IOException
read 在类中 BufferedInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 BufferedInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip 在类中 BufferedInputStreamIOExceptionpublic int available()
throws IOException
available 在类中 BufferedInputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 BufferedInputStreamIOExceptionpublic void mark(int readlimit)
mark 在类中 BufferedInputStreampublic void reset()
throws IOException
reset 在类中 BufferedInputStreamIOExceptionpublic boolean markSupported()
markSupported 在类中 BufferedInputStreamCopyright © 2017. All rights reserved.