public abstract class ProxyInputStream extends FilterInputStream
in| 构造器和说明 |
|---|
ProxyInputStream(InputStream proxy) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
afterRead(int n) |
int |
available() |
protected void |
beforeRead(int n) |
void |
close() |
protected void |
handleIOException(IOException e) |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] bts) |
int |
read(byte[] bts,
int off,
int len) |
void |
reset() |
long |
skip(long ln) |
public ProxyInputStream(InputStream proxy)
public int read()
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic int read(byte[] bts)
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic int read(byte[] bts,
int off,
int len)
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic long skip(long ln)
throws IOException
skip 在类中 FilterInputStreamIOExceptionpublic int available()
throws IOException
available 在类中 FilterInputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 FilterInputStreamIOExceptionpublic void mark(int readlimit)
mark 在类中 FilterInputStreampublic void reset()
throws IOException
reset 在类中 FilterInputStreamIOExceptionpublic boolean markSupported()
markSupported 在类中 FilterInputStreamprotected void beforeRead(int n)
throws IOException
IOExceptionprotected void afterRead(int n)
throws IOException
IOExceptionprotected void handleIOException(IOException e) throws IOException
IOExceptionCopyright © 2021. All rights reserved.