public class RewindableInputStream extends InputStream
构造器和说明 |
---|
RewindableInputStream(InputStream input)
Constructor.
|
RewindableInputStream(InputStream input,
int maxBytesToRemember)
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int length) |
InputStream |
rewind() |
available, mark, markSupported, read, reset, skip
public RewindableInputStream(InputStream input)
input
- public RewindableInputStream(InputStream input, int maxBytesToRemember)
public int read() throws IOException
read
在类中 InputStream
IOException
public int read(byte[] buffer, int offset, int length) throws IOException
read
在类中 InputStream
IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 InputStream
IOException
public InputStream rewind() throws IOException
IOException
Copyright © 2009 The Apache Software Foundation