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, unread
public 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.IOException
public void rewind(int offset, int len) throws java.io.IOException
java.io.IOException
public void rewind(int len) throws java.io.IOException
java.io.IOException
public int read() throws java.io.IOException
read
in class DynamicPushbackInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class DynamicPushbackInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class DynamicPushbackInputStream
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved