|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface NioArrayImpl.BufferGetter
Defines an object which can provide deferred access to a
Buffer
. Can be used to provide access to a buffer
which will only be created on demand; if it is never required it
will never be created.
Method Summary | |
---|---|
Buffer |
getBuffer()
Returns an NIO buffer. |
boolean |
isReadOnly()
Indicates whether the buffer, when created, will be read-only or not. |
void |
releaseBuffer()
Releases the NIO buffer. |
Method Detail |
---|
boolean isReadOnly()
Buffer getBuffer() throws IOException
IOException
- if something goes wrongvoid releaseBuffer() throws IOException
IOException
- if something goes wrong
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |