public class ByteBufferInputStreamProvider extends Object implements IHasInputStreamAndReader
InputStream provider based on a
ByteBuffer.| Constructor and Description |
|---|
ByteBufferInputStreamProvider(ByteBuffer aBuffer) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getByteBuffer() |
ByteBufferInputStream |
getInputStream()
Get the input stream to read from the object.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetReaderpublic ByteBufferInputStreamProvider(@Nonnull ByteBuffer aBuffer)
@Nonnull public ByteBuffer getByteBuffer()
@Nonnull public final ByteBufferInputStream getInputStream()
IHasInputStreamInputStream needs to be created!getInputStream in interface IHasInputStreamnull if resolving failed.Copyright © 2014–2017 Philip Helger. All rights reserved.