public class RewindableInputStream extends java.io.InputStream implements Rewindable
Constructor and Description |
---|
RewindableInputStream(java.io.InputStream in) |
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public void rewind()
rewind
in interface Rewindable
public boolean canRewind()
canRewind
in interface Rewindable
public void willNotRewind()
willNotRewind
in interface Rewindable
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException