public abstract class OutputStreamWithBuffer extends java.io.OutputStream implements ByteAppendable
| Constructor and Description |
|---|
OutputStreamWithBuffer() |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
getBuffer()
Returns the stream's buffer.
|
abstract int |
getBufferOffset()
Returns the stream's buffer offset.
|
abstract boolean |
isClosed() |
abstract byte[] |
nextBuffer(int offset)
Returns the next buffer.
|
abstract void |
setBufferOffset(int offset)
Sets the stream's buffer length.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, writepublic abstract byte[] getBuffer()
throws java.io.IOException
java.io.IOExceptionpublic abstract int getBufferOffset()
throws java.io.IOException
java.io.IOExceptionpublic abstract void setBufferOffset(int offset)
throws java.io.IOException
java.io.IOExceptionpublic abstract byte[] nextBuffer(int offset)
throws java.io.IOException
length - the length of the completed bufferjava.io.IOExceptionpublic abstract boolean isClosed()