PushbackInputStream.PushbackInputStream

PushbackInputStream.PushbackInputStream

Class Overview | Class Members | This Package | All Packages

Syntax 1
public PushbackInputStream( InputStream in, int size )
Parameters
in
the input stream from which bytes will be read.
size
the size of the pushback buffer.
Description
Creates a new pushback input stream with a pushback buffer of the specified size.



Syntax 2
public PushbackInputStream( InputStream in )
Parameters
in
the input stream from which bytes will be read.
Description
Creates a new pushback input stream with a one-byte pushback buffer.