All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.java.io.PushbackInputStream

java.lang.Object
    |
    +----org.jos.java.io.InputStream
            |
            +----org.jos.java.io.FilterInputStream
                    |
                    +----org.jos.java.io.PushbackInputStream

public class PushbackInputStream
extends FilterInputStream
JOS replacement of a standard Java IO class.

based on kore-0.0.7 by Glynn Clements

Version:
JOS-FileSystem 4 Preview (25-Mar-98)
Author:
Glynn Clements
Author:
Stefan Reich

Constructor Index

 o PushbackInputStream(InputStream)

Method Index

 o available()
 o markSupported()
 o read()
Read a single byte from this stream.
 o read(byte[], int, int)
 o unread(int)

Constructors

 o PushbackInputStream
public PushbackInputStream(InputStream in)

Methods

 o available
public int available() throws IOException
Overrides:
available in class FilterInputStream
 o markSupported
public boolean markSupported()
Overrides:
markSupported in class FilterInputStream
 o read
public int read() throws IOException
Read a single byte from this stream.

Returns:
the byte read.
Overrides:
read in class FilterInputStream
 o read
public int read(byte[] b,
                int off,
                int len) throws IOException
Overrides:
read in class FilterInputStream
 o unread
public void unread(int c) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index