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
-
BufferedInputStream(InputStream)
-
-
BufferedInputStream(InputStream, int)
-
-
available()
-
-
mark(int)
-
-
markSupported()
-
-
read()
- Read a byte of data from this stream, or -1 if
the end of stream is reached.
-
read(byte[], int, int)
-
-
reset()
-
-
skip(long)
-
BufferedInputStream
public BufferedInputStream(InputStream in,
int size)
BufferedInputStream
public BufferedInputStream(InputStream in)
available
public int available() throws IOException
- Overrides:
- available in class FilterInputStream
mark
public void mark(int readlimit)
- Overrides:
- mark in class FilterInputStream
markSupported
public boolean markSupported()
- Overrides:
- markSupported in class FilterInputStream
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
read
public int read(byte[] b,
int offset,
int len) throws IOException
- Overrides:
- read in class FilterInputStream
reset
public void reset() throws IOException
- Overrides:
- reset in class FilterInputStream
skip
public long skip(long n) throws IOException
- Overrides:
- skip in class FilterInputStream
All Packages Class Hierarchy This Package Previous Next Index