All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.java.io.ByteArrayInputStream

java.lang.Object
    |
    +----org.jos.java.io.InputStream
            |
            +----org.jos.java.io.ByteArrayInputStream

public class ByteArrayInputStream
extends InputStream
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 ByteArrayInputStream(byte[])
 o ByteArrayInputStream(byte[], int, int)

Method Index

 o available()
 o read()
 o read(byte[], int, int)
 o reset()
 o skip(long)

Constructors

 o ByteArrayInputStream
public ByteArrayInputStream(byte[] buff,
                            int offset,
                            int length)
 o ByteArrayInputStream
public ByteArrayInputStream(byte[] buff)

Methods

 o available
public int available()
Overrides:
available in class InputStream
 o reset
public void reset()
Overrides:
reset in class InputStream
 o read
public int read()
Overrides:
read in class InputStream
 o read
public int read(byte[] b,
                int off,
                int len)
Overrides:
read in class InputStream
 o skip
public long skip(long n)
Overrides:
skip in class InputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index