| java.lang.Object org.mortbay.io.AbstractBuffer
All known Subclasses: org.mortbay.io.View, org.mortbay.io.ByteArrayBuffer, org.mortbay.io.nio.NIOBuffer,
AbstractBuffer | abstract public class AbstractBuffer implements Buffer(Code) | | author: gregw |
Constructor Summary | |
public | AbstractBuffer(int access, boolean isVolatile) |
Method Summary | |
public byte[] | asArray() | public Buffer | asImmutableBuffer() | public Buffer | asMutableBuffer() | public Buffer | asNonVolatileBuffer() | public Buffer | asReadOnlyBuffer() | public Buffer | buffer() | public void | clear() | public void | compact() | public ByteArrayBuffer | duplicate(int access) | public boolean | equals(Object obj) | public boolean | equalsIgnoreCase(Buffer b) | public byte | get() | public int | get(byte[] b, int offset, int length) | public Buffer | get(int length) | final public int | getIndex() | public boolean | hasContent() | public int | hashCode() | public boolean | isImmutable() | public boolean | isReadOnly() | public boolean | isVolatile() | public int | length() | public void | mark() | public void | mark(int offset) | public int | markIndex() | public byte | peek() | public Buffer | peek(int index, int length) | public int | poke(int index, Buffer src) | public int | poke(int index, byte[] b, int offset, int length) | public int | put(Buffer src) | public void | put(byte b) | public int | put(byte[] b, int offset, int length) | public int | put(byte[] b) | final public int | putIndex() | public int | readFrom(InputStream in, int max) | public void | reset() | public void | rewind() | public void | setGetIndex(int getIndex) | public void | setMarkIndex(int index) | public void | setPutIndex(int putIndex) | public int | skip(int n) | public Buffer | slice() | public Buffer | sliceFromMark() | public Buffer | sliceFromMark(int length) | public int | space() | public String | toDebugString() | public String | toDetailString() | public String | toString() | public void | writeTo(OutputStream out) |
__IMMUTABLE__READONLY__READWRITE__VOLATILE | final protected static String __IMMUTABLE__READONLY__READWRITE__VOLATILE(Code) | | |
_access | protected int _access(Code) | | |
_hash | protected int _hash(Code) | | |
_volatile | protected boolean _volatile(Code) | | |
AbstractBuffer | public AbstractBuffer(int access, boolean isVolatile)(Code) | | Constructor for BufferView
Parameters: access - 0==IMMUTABLE, 1==READONLY, 2==READWRITE |
asArray | public byte[] asArray()(Code) | | |
asNonVolatileBuffer | public Buffer asNonVolatileBuffer()(Code) | | |
clear | public void clear()(Code) | | |
compact | public void compact()(Code) | | |
equalsIgnoreCase | public boolean equalsIgnoreCase(Buffer b)(Code) | | |
get | public int get(byte[] b, int offset, int length)(Code) | | |
getIndex | final public int getIndex()(Code) | | |
hasContent | public boolean hasContent()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isImmutable | public boolean isImmutable()(Code) | | |
isReadOnly | public boolean isReadOnly()(Code) | | |
isVolatile | public boolean isVolatile()(Code) | | |
length | public int length()(Code) | | |
mark | public void mark(int offset)(Code) | | |
markIndex | public int markIndex()(Code) | | |
poke | public int poke(int index, byte[] b, int offset, int length)(Code) | | |
put | public void put(byte b)(Code) | | |
put | public int put(byte[] b, int offset, int length)(Code) | | |
put | public int put(byte[] b)(Code) | | |
putIndex | final public int putIndex()(Code) | | |
reset | public void reset()(Code) | | |
rewind | public void rewind()(Code) | | |
setGetIndex | public void setGetIndex(int getIndex)(Code) | | |
setMarkIndex | public void setMarkIndex(int index)(Code) | | |
setPutIndex | public void setPutIndex(int putIndex)(Code) | | |
skip | public int skip(int n)(Code) | | |
|
|