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, sync
public ByteArrayBufferBuffer(ByteArrayBufferImpl... buffers)
buffers
- are the buffers to concat.public boolean fill(InputStream inputStream) throws IOException
AbstractByteArrayBufferBuffer
inputStream
. If the buffer is already filled, this method
will have no effect and return false
.fill
in class AbstractByteArrayBufferBuffer
inputStream
- 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.