public class RewindableInputStream extends DynamicPushbackInputStream
| Constructor and Description |
|---|
RewindableInputStream(java.io.InputStream in) |
RewindableInputStream(java.io.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, unreadpublic RewindableInputStream(java.io.InputStream in)
public RewindableInputStream(java.io.InputStream in,
int capacity)
public int position()
public void rewind()
throws java.io.IOException
java.io.IOExceptionpublic void rewind(int offset,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void rewind(int len)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class DynamicPushbackInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class DynamicPushbackInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class DynamicPushbackInputStreamjava.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved