public class DynamicPushbackInputStream
extends java.io.PushbackInputStream
Constructor and Description |
---|
DynamicPushbackInputStream(java.io.InputStream in) |
DynamicPushbackInputStream(java.io.InputStream in,
int initialSize) |
Modifier and Type | Method and Description |
---|---|
int |
clear()
Clear the buffer
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
int |
shrink()
Shrink the buffer.
|
long |
skip(long n) |
void |
unread(byte[] b,
int off,
int len) |
void |
unread(int b) |
public DynamicPushbackInputStream(java.io.InputStream in)
public DynamicPushbackInputStream(java.io.InputStream in, int initialSize)
public int clear()
public int shrink()
public void unread(byte[] b, int off, int len) throws java.io.IOException
unread
in class java.io.PushbackInputStream
java.io.IOException
public void unread(int b) throws java.io.IOException
unread
in class java.io.PushbackInputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.PushbackInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.PushbackInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.PushbackInputStream
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved