PushbackInputStream
Class PushbackInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.PushbackInputStream
- All Implemented Interfaces:
- Closeable, AutoCloseable
public class PushbackInputStream extends FilterInputStream
A PushbackInputStream
adds functionality to another input stream, namely the ability to "push back" or "unread" one byte. This is useful in situations where it is convenient for a