public class RewindableInputStream extends DynamicPushbackInputStream
| Constructor and Description |
|---|
RewindableInputStream(InputStream in) |
RewindableInputStream(InputStream in,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
position() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
rewind() |
void |
rewind(int len) |
void |
rewind(int offset,
int len) |
long |
skip(long n) |
clear, shrink, unread, unreadavailable, close, mark, markSupported, reset, unreadreadpublic RewindableInputStream(InputStream in)
public RewindableInputStream(InputStream in, int capacity)
public int position()
public void rewind()
throws IOException
IOExceptionpublic void rewind(int offset,
int len)
throws IOException
IOExceptionpublic void rewind(int len)
throws IOException
IOExceptionpublic int read()
throws IOException
read in class DynamicPushbackInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class DynamicPushbackInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class DynamicPushbackInputStreamIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved