API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. BufferedOutputStream View Source
Author(s)
Arthur van Hoff
Since
JDK1.0
Version
1.34, 11/17/05
Serial
Hierarchy
 Object
      OutputStream
          FilterOutputStream
              BufferedOutputStream
Implements
Subclasses
Description
public class BufferedOutputStream
  The class implements a buffered output stream.
See also:   
Constructors
public BufferedOutputStream (OutputStream out)
  Creates a new buffered output stream to write data to the specified underlying output stream.
public BufferedOutputStream (OutputStream out, int size)
  Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.
Methods
Hide/Show inherited methods
public void close () throws IOException [Inherited From FilterOutputStream]
  Closes this output stream and releases any system resources associated with the stream.
publicsynchronized void flush () throws IOException [Overrides FilterOutputStream]
  Flushes this buffered output stream.
public void write (byte[] b) throws IOException [Inherited From FilterOutputStream]
  Writes b.length bytes to this output stream.
publicsynchronized void write (byte[] b, int off, int len) throws IOException [Overrides FilterOutputStream]
  Writes len bytes from the specified byte array starting at offset off to this buffered output stream.
publicsynchronized void write (int b) throws IOException [Overrides FilterOutputStream] [Specified in OutputStream]
  Writes the specified byte to this buffered output stream.
Fields
Hide/Show inherited fields
protected byte buf
The internal buffer where data is stored.
protected int count
  The number of valid bytes in the buffer.
protected OutputStream out [Inherited From FilterOutputStream]
The underlying output stream to be filtered.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar