org.jgroups.util

Class ExposedBufferedOutputStream


public class ExposedBufferedOutputStream
extends BufferedOutputStream

Version:
$Id: ExposedBufferedOutputStream.java,v 1.1 2005/07/25 15:53:36 belaban Exp $
Author:
Bela Ban

Constructor Summary

ExposedBufferedOutputStream(OutputStream out)
Creates a new buffered output stream to write data to the specified underlying output stream.
ExposedBufferedOutputStream(OutputStream out, int size)
Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.

Method Summary

void
reset(int size)

Constructor Details

ExposedBufferedOutputStream

public ExposedBufferedOutputStream(OutputStream out)
Creates a new buffered output stream to write data to the specified underlying output stream.
Parameters:
out - the underlying output stream.

ExposedBufferedOutputStream

public ExposedBufferedOutputStream(OutputStream out,
                                   int size)
Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.
Parameters:
out - the underlying output stream.
size - the buffer size.

Method Details

reset

public void reset(int size)

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.