API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. BufferedWriter View Source
Author(s)
Mark Reinhold
Since
JDK1.1
Version
1.29, 05/11/30
Serial
Hierarchy
 Object
      Writer
          BufferedWriter
Implements
Subclasses
Description
public class BufferedWriter
  Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
Constructors
public BufferedWriter (Writer out)
  Creates a buffered character-output stream that uses a default-sized output buffer.
public BufferedWriter (Writer out, int sz)
  Creates a new buffered character-output stream that uses an output buffer of the given size.
Methods
Hide/Show inherited methods
public Writer append (char c) throws IOException [Inherited From Writer]
  Appends the specified character to this writer.
public Writer append (CharSequence csq) throws IOException [Inherited From Writer]
  Appends the specified character sequence to this writer.
public Writer append (CharSequence csq, int start, int end) throws IOException [Inherited From Writer]
  Appends a subsequence of the specified character sequence to this writer.
public void close () throws IOException [Specified in Writer]
public void flush () throws IOException [Specified in Writer]
  Flushes the stream.
pack-private void flushBuffer () throws IOException
  Flushes the output buffer to the underlying character stream, without flushing the stream itself.
public void newLine () throws IOException
  Writes a line separator.
public void write (char[] cbuf) throws IOException [Inherited From Writer]
  Writes an array of characters.
public void write (char[] cbuf, int off, int len) throws IOException [Specified in Writer]
  Writes a portion of an array of characters.
public void write (int c) throws IOException [Overrides Writer]
  Writes a single character.
public void write (String str) throws IOException [Inherited From Writer]
  Writes a string.
public void write (String s, int off, int len) throws IOException [Overrides Writer]
  Writes a portion of a String.
Fields
Hide/Show inherited fields
protected Object lock [Inherited From Writer]
  The object used to synchronize operations on this stream.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar