java.io.BufferedOutputStream (JDK 1.0)
This class is a FilterOutputStream that provides output data buffering--output efficiency is increased by storing values to be written in a buffer and actually writing them out only when the buffer fills up or when the flush() method is called. Create a BufferedOutputStream by specifying the OutputStream that is to have buffering applied in the call to the constructor. See also BufferedWriter.
public classBufferedOutputStreamextends FilterOutputStream { //Public ConstructorspublicBufferedOutputStream(OutputStreamout); publicBufferedOutputStream(OutputStreamout, intsize); //Protected Instance Variablesprotected byte[]buf; protected intcount; //Public Instance Methodspublic synchronized voidflush() throws IOException; //Overrides FilterOutputStreampublic synchronized voidwrite(intb) throws IOException; //Overrides FilterOutputStreampublic synchronized voidwrite(byte[]b, intoff, intlen) throws IOException; //Overrides FilterOutputStream}
Hierarchy:
Object->OutputStream->FilterOutputStream->BufferedOutputStream