|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.util.SimpleStringBuffer
public final class SimpleStringBuffer
A class to handle a sequence of characters.
Constructor Summary | |
---|---|
SimpleStringBuffer()
|
Method Summary | |
---|---|
void |
append(char c)
Appends the specified character to this buffer. |
void |
append(String s)
Appends the specified string to this buffer. |
static void |
release(SimpleStringBuffer buffer)
Returns an unused simple string buffer to the pool. |
static SimpleStringBuffer |
request()
Returns a new simple string buffer from the buffer pool. |
void |
reset()
|
String |
toString()
Returns a string representation of the data in this buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleStringBuffer()
Method Detail |
---|
public void reset()
public String toString()
toString
in class Object
public void append(String s)
s
- the string to appendpublic void append(char c)
c
- the character to appendpublic static SimpleStringBuffer request()
public static void release(SimpleStringBuffer buffer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |