public class ExposedBufferedOutputStream
extends java.io.BufferedOutputStream
Constructor | Description |
---|---|
ExposedBufferedOutputStream(java.io.OutputStream out) |
Creates a new buffered output stream to write data to the
specified underlying output stream.
|
ExposedBufferedOutputStream(java.io.OutputStream out,
int size) |
Creates a new buffered output stream to write data to the
specified underlying output stream with the specified buffer
size.
|
Modifier and Type | Method | Description |
---|---|---|
void |
reset(int size) |
public ExposedBufferedOutputStream(java.io.OutputStream out)
out
- the underlying output stream.public ExposedBufferedOutputStream(java.io.OutputStream out, int size)
out
- the underlying output stream.size
- the buffer size.java.lang.IllegalArgumentException
- if size <= 0.Copyright ? 1998-2008 Bela Ban. All Rights Reserved.