The Java.io.OutputStream class is the superclass of all classes representing an output stream of bytes. An output stream accepts output bytes and sends them to some sink.Applications that need to define a subclass of OutputStream must always provide at least a method that writes one byte of output.
Following is the declaration for Java.io.OutputStream class:
public abstract class OutputStream extends Object implements Closeable, Flushable
|S.N.||Constructor & Description|
|S.N.||Method & Description|
This method closes this output stream and releases any system resources associated with this stream.
This method flushes this output stream and forces any buffered output bytes to be written out.
This method writes b.length bytes from the specified byte array to this output stream.
This method writes len bytes from the specified byte array starting at offset off to this output stream.
This method writes the specified byte to this output stream.
This class inherits methods from the following classes: