Specifications

Sun Services
Java™ Programming Language
Module 14, slide 8 of 22
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
The OutputStream Methods
The three basic write methods are:
void write(int c)
void write(byte[] buffer)
void write(byte[] buffer, int offset, int length)
Other methods include:
void close()
void flush()