Public abstract class OutputStream extends Object implements closeable, flushable
Constructor | Description |
---|---|
OutputStream() | The function of this constructor is to create the output stream instance. |
Method | Description |
---|---|
void close () | The function of this method is to close the present stream and associated to input stream systems resources are released without any impact. |
void flush () | The function of this method is to flush the specified output stream. |
abstract void write (int b) | The function of this method is to write the represented byte into output stream. |
void write (byte[] b, int off, int n) | By using this method it writes the data up to 'n' bytes from the output stream to an array of bytes. |