Closeable
, AutoCloseable
, Runnable
public final class AsyncBufferedInputStream extends InputStream implements Runnable
构造器 | 说明 |
---|---|
AsyncBufferedInputStream(InputStream is) |
|
AsyncBufferedInputStream(InputStream is,
int size) |
|
AsyncBufferedInputStream(InputStream is,
int size,
ThreadFactory tf) |
限定符和类型 | 方法 | 说明 |
---|---|---|
int |
available() |
|
void |
close() |
|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
|
void |
run() |
|
int |
write(byte[] b,
int off,
int len) |
mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferTo
public AsyncBufferedInputStream(InputStream is)
public AsyncBufferedInputStream(InputStream is, int size)
public AsyncBufferedInputStream(InputStream is, int size, ThreadFactory tf)
public int available() throws IOException
available
在类中 InputStream
IOException
public void close() throws IOException
close
在接口中 AutoCloseable
close
在接口中 Closeable
close
在类中 InputStream
IOException
public int read() throws IOException
read
在类中 InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
在类中 InputStream
IOException
public int write(byte[] b, int off, int len) throws IOException
IOException
Copyright © 2018. All rights reserved.