All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.java.io.ByteArrayOutputStream

java.lang.Object
    |
    +----org.jos.java.io.OutputStream
            |
            +----org.jos.java.io.ByteArrayOutputStream

public class ByteArrayOutputStream
extends OutputStream
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 ByteArrayOutputStream()
 o ByteArrayOutputStream(int)

Method Index

 o reset()
 o size()
 o toByteArray()
 o toString()
 o toString(int)
 o write(byte[], int, int)
 o write(int)
 o writeTo(OutputStream)

Constructors

 o ByteArrayOutputStream
public ByteArrayOutputStream(int size)
 o ByteArrayOutputStream
public ByteArrayOutputStream()

Methods

 o reset
public void reset()
 o size
public int size()
 o toByteArray
public byte[] toByteArray()
 o toString
public String toString(int hibyte)
 o toString
public String toString()
Overrides:
toString in class Object
 o write
public void write(int b)
Overrides:
write in class OutputStream
 o write
public void write(byte[] b,
                  int off,
                  int len)
Overrides:
write in class OutputStream
 o writeTo
public void writeTo(OutputStream out) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index