Packages This Package Prev Next Index
public abstract class java.io.OutputStream
extends java.lang.Object (I-§1.12)
{
// Constructors
public OutputStream(); §2.15.1
// Methods
public void close(); §2.15.2
public void flush(); §2.15.3
public void write(byte b[]); §2.15.4
public void write(byte b[], int off, int len); §2.15.5
public abstract void write(int b); §2.15.6
}
This class is an abstract class that is the superclass of all classes representing an output
stream of bytes.
Applications that need to define a subclass of OutputStream must always provide at least a method that writes one byte of output (I-§2.15.6).
public OutputStream()
public void close()
throws IOException
public void flush()
throws IOException
public void write(byte b[])
throws IOException
b
- the data
public void write(byte b[], int off, int len)
throws IOException
b
- the data
off
- the start offset in the data
len
- the number of bytes to write
public abstract void write(int b)
throws IOException
b
- the byte
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)