|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.util.XMLParser.CharArrayBuffer
public class 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 |
---|
public static final int DEFAULT_CAPACITY
protected char[] buffer
protected int length
Constructor Detail |
---|
public XMLParser.CharArrayBuffer(char[] chars, int length, int off)
Method Detail |
---|
public char[] getBuffer()
public int getLength()
public void append(char[] chars, int off, int len)
THe
- chars to appendprotected void expandBuffer()
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |