Java java.io OutputStream fields, constructors, methods, implement or subclass

Example usage for Java java.io OutputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io OutputStream.

The text is from its open source code.

Subclass

java.io.OutputStream has subclasses.
Click this link to see all its subclasses.

Implementation

java.io.OutputStream has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidclose()
Closes this output stream and releases any system resources associated with this stream.
voidflush()
Flushes this output stream and forces any buffered output bytes to be written out.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
StringtoString()
Returns a string representation of the object.
voidwrite(int b)
Writes the specified byte to this output stream.
voidwrite(byte b[])
Writes b.length bytes from the specified byte array to this output stream.
voidwrite(byte b[], int off, int len)
Writes len bytes from the specified byte array starting at offset off to this output stream.