java.io.OutputStream (JDK 1.0)
This abstract class is the superclass of all output streams. It defines the basic output methods that all output stream classes provide.
write() writes a single byte or an array or subarray of bytes. flush() forces any buffered output to be written. close() closes the stream and frees up any system resources associated with it. The stream may not be used once close() has been called.
See also Writer.
public abstract classOutputStreamextends Object { //Default Constructor: public OutputStream()//Public Instance Methodspublic voidclose() throws IOException; public voidflush() throws IOException; public abstract voidwrite(intb) throws IOException; public voidwrite(byte[]b) throws IOException; public voidwrite(byte[]b, intoff, intlen) throws IOException; }
Extended By:
ByteArrayOutputStream, FileOutputStream, FilterOutputStream, ObjectOutputStream, PipedOutputStream
Passed To:
BufferedOutputStream(), ByteArrayOutputStream.writeTo(), CheckedOutputStream(), DataOutputStream(), DeflaterOutputStream(), FilterOutputStream(), GZIPOutputStream(), ObjectOutputStream(), OutputStreamWriter(), PrintStream(), PrintWriter(), Properties.save(), Runtime.getLocalizedOutputStream(), ZipOutputStream()
Returned By:
Process.getOutputStream(), Runtime.getLocalizedOutputStream(), Socket.getOutputStream(), SocketImpl.getOutputStream(), URLConnection.getOutputStream()
Type Of:
FilterOutputStream.out