Top Fields Constructors Methods
org.mortbay.io.nio

public Class IndirectNIOBuffer

extends ByteArrayBuffer
implements NIOBuffer
Class Inheritance
All Implemented Interfaces
org.mortbay.io.nio.NIOBuffer, org.mortbay.io.Buffer, java.lang.Cloneable
Imports
java.nio.ByteBuffer, org.mortbay.io.ByteArrayBuffer

Field Summary

Modifier and TypeField and Description
protected ByteBuffer
Inherited from org.mortbay.io.ByteArrayBuffer:
_bytes

Constructor Summary

AccessConstructor and Description
public
public
IndirectNIOBuffer(ByteBuffer buffer, boolean immutable)

Method Summary

Modifier and TypeMethod and Description
public ByteBuffer
public boolean
Inherited from org.mortbay.io.ByteArrayBuffer:
arraycapacitycompactequalsequalsIgnoreCasegethashCodepeekpeekpokepokepokereadFromspacewrapwrapwriteTo

Field Detail

_bufback to summary
protected ByteBuffer _buf

Constructor Detail

IndirectNIOBufferback to summary
public IndirectNIOBuffer(int size)
IndirectNIOBufferback to summary
public IndirectNIOBuffer(ByteBuffer buffer, boolean immutable)

Method Detail

getByteBufferback to summary
public ByteBuffer getByteBuffer()

Implements org.mortbay.io.nio.NIOBuffer.getByteBuffer.

isDirectback to summary
public boolean isDirect()

Implements org.mortbay.io.nio.NIOBuffer.isDirect.