public class ByteArrayBufferBuffer extends AbstractByteArrayBufferBuffer
AbstractByteArrayBufferBuffer. | Constructor and Description |
|---|
ByteArrayBufferBuffer(ByteArrayBufferImpl... buffers)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
fill(InputStream inputStream)
This method fills this buffer using the given
inputStream. |
fill, getByteArray, getByteArrayCount, getBytesAvailable, getCurrentBuffer, getCurrentBufferIndex, hasNext, next, nextBuffer, peek, process, skip, syncpublic ByteArrayBufferBuffer(ByteArrayBufferImpl... buffers)
buffers - are the buffers to concat.public boolean fill(InputStream inputStream) throws IOException
AbstractByteArrayBufferBufferinputStream. If the buffer is already filled, this method
will have no effect and return false.fill in class AbstractByteArrayBufferBufferinputStream - is the InputStream providing the data to fill this buffer with.true if the end of the stream was encountered while (re)filling this buffer, false
otherwise.IOException - if caused by the inputStream whilst reading.Copyright © 2001–2016 mmm-Team. All rights reserved.