public class RepeatableInputStream extends InputStream
| 构造器和说明 |
|---|
RepeatableInputStream(InputStream inputStream,
int bufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
available() |
void |
close() |
InputStream |
getWrappedInputStream() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] out,
int outOffset,
int outLength) |
void |
reset() |
read, skippublic RepeatableInputStream(InputStream inputStream, int bufferSize)
public void reset()
throws IOException
reset 在类中 InputStreamIOExceptionpublic boolean markSupported()
markSupported 在类中 InputStreampublic void mark(int readlimit)
mark 在类中 InputStreampublic int available()
throws IOException
available 在类中 InputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionpublic int read(byte[] out,
int outOffset,
int outLength)
throws IOException
read 在类中 InputStreamIOExceptionpublic int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic InputStream getWrappedInputStream()
Copyright © 2019. All Rights Reserved.