All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.java.io.BufferedInputStream

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

public class BufferedInputStream
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 BufferedInputStream(InputStream)
 o BufferedInputStream(InputStream, int)

Method Index

 o available()
 o mark(int)
 o markSupported()
 o read()
Read a byte of data from this stream, or -1 if the end of stream is reached.
 o read(byte[], int, int)
 o reset()
 o skip(long)

Constructors

 o BufferedInputStream
public BufferedInputStream(InputStream in,
                           int size)
 o BufferedInputStream
public BufferedInputStream(InputStream in)

Methods

 o available
public int available() throws IOException
Overrides:
available in class FilterInputStream
 o mark
public void mark(int readlimit)
Overrides:
mark in class FilterInputStream
 o markSupported
public boolean markSupported()
Overrides:
markSupported in class FilterInputStream
 o read
public int read() throws IOException
Read a byte of data from this stream, or -1 if the end of stream is reached.

Returns:
An integer between 0 and 255 if the read is successfull, or -1 if the end of the stream was reached.
Overrides:
read in class FilterInputStream
 o read
public int read(byte[] b,
                int offset,
                int len) throws IOException
Overrides:
read in class FilterInputStream
 o reset
public void reset() throws IOException
Overrides:
reset in class FilterInputStream
 o skip
public long skip(long n) throws IOException
Overrides:
skip in class FilterInputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index