public PushbackInputStream (InputStream in, int size)

Creates a PushbackInputStream with a pushback buffer of the specified size, and saves its argument, the input stream in, for later use. Initially, the pushback buffer is empty.

Parameters:
in    the input stream from which bytes will be read.
size    the size of the pushback buffer.

Exceptions:
IllegalArgumentException    if size <= 0

Since:  1.1