public class StreamBuffer
extends java.lang.Object
| Constructor and Description |
|---|
StreamBuffer(int size)
Creates a new stream buffer with the specified buffer size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the buffer which forces the streams to close.
|
java.io.InputStream |
getInputStream()
Returns the input stream.
|
java.io.OutputStream |
getOutputStream()
Returns the output stream.
|
public StreamBuffer(int size)
size - The size of the stream buffer.public void close()
public java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()