Specifications
Sun Services
Java™ Programming Language
Module 14, slide 10 of 22
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
The Writer Methods
• The basic write methods are:
void write(int c)
void write(char[] cbuf)
void write(char[] cbuf, int offset, int length)
void write(String string)
void write(String string, int offset, int length)
• Other methods include:
void close()
void flush()










