|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.util.XMLParser.CharArrayBuffer
This class implements a char array buffer
| Field Summary | |
protected char[] |
buffer
The internal buffer |
static int |
DEFAULT_CAPACITY
The default initial capacity |
protected int |
length
The markers |
| Constructor Summary | |
XMLParser.CharArrayBuffer(char[] chars,
int length,
int off)
Constructor |
|
| Method Summary | |
void |
append(char[] chars,
int off,
int len)
Appends some more chars! |
protected void |
expandBuffer()
Expands the buffer |
char[] |
getBuffer()
Returns the internal array |
int |
getLength()
Returns the length |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected char[] buffer
protected int length
public static final int DEFAULT_CAPACITY
| Constructor Detail |
public XMLParser.CharArrayBuffer(char[] chars,
int length,
int off)
chars - DESCRIBE THE PARAMETERlength - DESCRIBE THE PARAMETERoff - DESCRIBE THE PARAMETER| Method Detail |
public char[] getBuffer()
public int getLength()
public void append(char[] chars,
int off,
int len)
chars - DESCRIBE THE PARAMETERoff - DESCRIBE THE PARAMETERlen - DESCRIBE THE PARAMETERprotected void expandBuffer()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||