January 2002
Intermediate to advanced
264 pages
8h 3m
English
java.io.OutputStream
This abstract class is the superclass of all types of output streams.
Classes that extend OutputStream must provide an
implementation for the abstract write() method.
Other methods include flush(), which flushes the
output buffer, and close(), which closes the
output stream and releases any resources associated with it.
public abstract classOutputStream{ // constructor publicOutputStream(); // public instance methods public abstract voidwrite(int b) throws java.io.IOException; public voidwrite(byte[] b) throws java.io.IOException; public voidwrite(byte[] b, int off, int len) throws java.io.IOException; public voidflush() throws java.io.IOException; public voidclose() throws java.io.IOException; }
Read now
Unlock full access