final class BufferHolder extends Object
| Constructor and Description |
|---|
BufferHolder(ByteBuffer buffer) |
BufferHolder(File database,
Reader.FileMode mode) |
BufferHolder(InputStream stream)
Construct a ThreadBuffer from the provided URL.
|
BufferHolder(File database, Reader.FileMode mode) throws IOException
IOExceptionBufferHolder(InputStream stream) throws IOException
stream - the source of my bytes.IOException - if unable to read from your source.NullPointerException - if you provide a NULL InputStreamBufferHolder(ByteBuffer buffer)
ByteBuffer get()