public class RepeatableInputStream extends InputStream
| 构造器和说明 |
|---|
RepeatableInputStream(InputStream inputStream,
int bufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit)
This method can only be used while less data has been read from the input
stream than fits into the buffer.
|
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 在类中 InputStreamInputStream.markSupported()public void mark(int readlimit)
mark 在类中 InputStreampublic int available()
throws IOException
available 在类中 InputStreamIOExceptionInputStream.available()public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionInputStream.close()public int read(byte[] out,
int outOffset,
int outLength)
throws IOException
read 在类中 InputStreamIOExceptionInputStream.read(byte[], int, int)public int read()
throws IOException
read 在类中 InputStreamIOExceptionInputStream.read()Copyright © 2024. All rights reserved.